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/”>So, You can set that to allow connection from all IP addresses like follow changes:
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
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.this above code have to change as following code,
# 127.0.0.1 localhost
# ::1 localhost
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
# ::1 localhost
All the Best.
0 comments:
Post a Comment