日期:2014-05-16  浏览次数:20756 次

apache虚拟目录建立后网页禁止访问,求高手指教
添加虚拟目录:

Alias /report/ "/www/htdocs/test/"

<Directory "/www/htdocs/test/">
     Options Indexes MultiViews
      AllowOverride None 
     Order deny,allow
     Allow from all 
     DirectoryIndex index.php    
</Directory>

访问http://localhost/test/index.php提示You don't have permission to access /report/index.php on this server.

------解决方案--------------------
首先检查目录文件权限问题,然后Options 加上FollowSymLinks