403 Forbidden error while accessing http://localhost
Posted by: kaidranzer (117.204.215.---)
Date: May 09, 2011 01:51PM

hi..i have been searching a lot to fix this error but have failed and it has now turned into a headache... i installed wamp and changed the apache port to 8080 and got the server online...However i have the following error :

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

I have tried a lot of things but cant get this fixed.

pls pls help me out here
thanx in advance

Re: 403 Forbidden error while accessing http://localhost
Posted by: yfastud (Moderator)
Date: May 10, 2011 12:33AM

Make sure no other program conflict Wamp such as IIS, SQL, Skype, Zonealarm, firewall/antivirus, NOD32, Eset, any web related program including Remote Desktop, Teamviewer ...

IIS and Apache/Wamp are both web server and might conflict in some way, so you have to disable IIS in order for Wamp to work

Disable IIS in Vista/W7:

Control Panel, Uninstall Programs, Turn Widows Features On or Off, uncheck Internet Information Services

Disable IIS in XP:

Control Panel, Add/Remove Programs, Add/Remove Windows Components, uncheck Internet Information Services (IIS)

Restart computer, then restart Wamp

Also, in folder C:\WINDOWS\System32\drivers\etc, open file hosts and delete anything in this file and have only this line below and nothing else

127.0.0.1 localhost

If using Skype, open Skype > Tools > Options > Advanced > Connection then uncheck "use port 80..." restart Wamp then Skype

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Re: 403 Forbidden error while accessing http://localhost
Posted by: kaidranzer (117.204.213.---)
Date: May 11, 2011 05:35PM

thanks...got it working

Sorry, only registered users may post in this forum.