wamp You don't have permission to access / on this server等问题的解决.

来源:互联网 发布:最新病毒源码 编辑:程序博客网 时间:2024/05/18 02:04

Forbidden

You don't have permission to access /index.phpon this server.




然后也是找了很多,多是说什么allow from all等等的问题。

但无论怎么设置都是这个问题。几经波折,

发现把Options Indexes FollowSymLinks 后面添加上 ExecCGI就好使了。


<VirtualHost *:80>    DocumentRoot D:/wamp/www/aa    ServerName localhost    <Directory "d:/wamp/www/aa">        Options Indexes FollowSymLinks ExecCGI        Order allow,deny        Allow from all        AllowOverride All    </Directory></VirtualHost>

0 0