Forbidden You don't have permission to access / on this server. You don't have permission to access /phpmyadmin/ on this server. 解决办法

 Forbidden  You don't have permission to access / on this server.   解决办法


打开 httpd.conf 文件,


#   onlineoffline tag - don't remove
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1

改成

#   onlineoffline tag - don't remove
    Order Allow,Deny
    Allow from all


重启所有服务即可


 

Forbidden  You don't have permission to access /phpmyadmin/ on this server  解决办法

打开 XXX/wamp/alias/phpmyadmin.conf 文件,

<Directory "F:/Software/wamp/alias/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>

修改成

<Directory "F:/Software/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>

保存,然后重启Wamp所有服务即可。

posted @ 2012-10-28 21:14  郑敏翔  阅读(52858)  评论(2编辑  收藏  举报