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
- 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.
- If the message is "Wampserver - Offline" , then you have to make it online.
- Click on the wampserver icon in the quicklaunch taskbar , then click on the "Put Online" at the bottom.
2. Allow access permission in apache httpd.conf
- Open the httpd.conf in C:\wamp\bin\apache\apache2.2.22\conf path or browse your wampserver root folder for apache
- 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>
Options Indexes FollowSymLinks
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>