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

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>  

  

posted @ 2018-04-08 10:19  滴水穿石!  阅读(936)  评论(0编辑  收藏  举报