apache中虚拟目录总是403 Forbidden的问题
总是显示
403 Forbidden
修改目录权限为777也无效.
查得此文章: http://flyash.itcao.com/post_715.html
设置虚拟目录时,不要后面的"/", 修改之,OK!
Alias /test
/ /
var/www/test
修改后
Alias /test /
var/www/test
<Directory / var/www/test>
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
<Directory / var/www/test>
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>