首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

apache虚拟目录建立后网页禁止访问

2012-12-30 
apache虚拟目录建立后网页禁止访问,求高手指教添加虚拟目录:Alias /report/ /www/htdocs/test/Director

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

热点排行