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>  

  

相关文章: