You don't have permission to access / on this server. wamp server, PhpMyAdmin on Wampserver - Forbidden, on window 7, window 8

http://jumnuoy.blogspot.com/2012/12/you-dont-have-permission-to-access-on.html

Wampserver - Forbidden

1. edit httpd.conf, using the link on the wampserver icon wampserver -> apache -> https.conf
find the line > Listen 80
and change to > listen 0.0.0.0:80

This will force apache to listen on IPV4 and make the pre-configured phpMyAdmin security configuration compatable.

By default phpMyAdmin has the following access restriction:
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
to -> Allow from all
IP Address 127.0.0.1 is the IPv4 address for localhost

You may also need to make sure your HOSTS file has the line
#127.0.0.1 localhost
uncommented to
127.0.0.1 localhost
or add it if it does not exists.


The hosts file is protected by windows, in order to save it you must have Administrator privilages.
Vista/W7/W8 you may think you are an Administrator BUT YOU ARE NOT.

To successfully save the hosts file do this to launch your editor with Admin Privilages.

Locate your editors icon on the desktop or from the Start menus ( notepad will do if you have nothing else )
left click + shift over your chosen editor icon - will show a menu.
select "Run As Administrator" from the menu.
Navigate your editor to the c:\windows\system32\drivers\etc\hosts file.

When you have made changes you will now be allowed to save them.


for

PhpMyAdmin on Wampserver - Forbidden

1. edit phpmyadmin.conf, sqlbuddy.conf and webgrind.conf, using the link on the wampserver icon wampserver -> alias ->phpmyadmin.conf, sqlbuddy.conf and webgrind.conf 
s

Wampserver - Forbidden

1. edit httpd.conf, using the link on the wampserver icon wampserver -> apache -> https.conf
find the line > Listen 80
and change to > listen 0.0.0.0:80

This will force apache to listen on IPV4 and make the pre-configured phpMyAdmin security configuration compatable.

By default phpMyAdmin has the following access restriction:
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
to -> Allow from all
IP Address 127.0.0.1 is the IPv4 address for localhost

You may also need to make sure your HOSTS file has the line
#127.0.0.1 localhost
uncommented to
127.0.0.1 localhost
or add it if it does not exists.


The hosts file is protected by windows, in order to save it you must have Administrator privilages.
Vista/W7/W8 you may think you are an Administrator BUT YOU ARE NOT.

To successfully save the hosts file do this to launch your editor with Admin Privilages.

Locate your editors icon on the desktop or from the Start menus ( notepad will do if you have nothing else )
left click + shift over your chosen editor icon - will show a menu.
select "Run As Administrator" from the menu.
Navigate your editor to the c:\windows\system32\drivers\etc\hosts file.

When you have made changes you will now be allowed to save them.


for

PhpMyAdmin on Wampserver - Forbidden

1. edit phpmyadmin.conf, sqlbuddy.conf and webgrind.conf, using the link on the wampserver icon wampserver -> alias ->phpmyadmin.conf, sqlbuddy.conf and webgrind.conf 
s

0 comments:

Post a Comment

Followers

រឿង ដែលខានមើលមិនបាន

Contact us

Name

Email *

Message *

Your Language

Online

Copyright 2009 Simplex Celebs All rights reserved Designed by www.sruol9.com