Adsense-HeaderAd-Script


Advertisement #Header

11 Jul 2013

How to fix 403 Forbidden error message in wampserver


After Wampserver installation when users are trying to access Localhost or PhpMyAdmin, they get the below error message:

Forbidden

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

Solution

Either of the below solutions should work.

1. Make your Wampserver online

  1. Point on the wampserver icon in the quicklaunch taskbar for a few seconds to get a message to check whether the wampserver is online or not.
  2. If the message is "Wampserver - Offline" , then you have to make it online.
  3. Click on the wampserver icon in the quicklaunch taskbar , then click on the "Put Online" at the bottom.

wampserver properties

2. Allow access permission in apache httpd.conf

  1.  Open the httpd.conf  in C:\wamp\bin\apache\apache2.2.22\conf path or browse your wampserver root folder for apache
  2.  Make sure you have such a entry in your httpd.conf , if not put such a entry
 <Directory "C:/wamp/www/">
    Options Indexes FollowSymLinks
    AllowOverride all
    Order Allow,Deny
    Allow from all
</Directory>