We are giving 3 solutions for wamp server Error – 403 Forbidden: You don’t have permission to access / on this server apache.
If you get this Forbidden Error when access Phpmyadmin, Go to this link -> Forbidden You don’t have permission to access /phpmyadmin/ on this server
3 solutions for wamp server Error – 403 Forbidden: You don’t have permission to access / on this server apache
Solution 1:
It’s a Cool Idea. Lot of time this method working as Magic.
Just go to green wamp icon at taskbar.
Left-click that icon. Will get following menu options. There you can select “Put Online”(last menu item).
Solution 2: in httpd.conf
The access of Apache server is make forbidden from address other than 127.0.0.1 in Apache’s config file (httpd.conf)
<Directory “c:/wamp/www/”>
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
So, You can set that to allow connection from all IP addresses like follow changes:
AllowOverride All
Order allow,deny
Allow from all
Solution 3:
For 3rd method, open following file for editing.
C:\Windows\System32\drivers\etc\hosts
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
this above code have to change as following code,
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
# ::1 localhost
All the Best.
Latest posts by KarSho (see all)
- Step to Install JOOMLA in WAMP Localhost - March 30, 2020
- ‘Your Projects’ Links Not working in WAMP Server - March 29, 2020