Today i wanted to make my localhost shared across network so any one can see any edit at my websites

you have to know your ipaddress .. in windows ( as you using wamp ) you run cmd and run ipconfig /all

take your ip4 and this is your ipaddress for your localhost

put WAMP on online mode ( left click on wamp and then press put online )

try this in the browser

it will give you that permssion denied on other computers

you have to edit your http.conf file ( apache )

Edit the following

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
# Online --> Require all granted ( you change that to all guranted )