apache中虚拟目录总是403 Forbidden的问题

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>

猜你喜欢

转载自blog.csdn.net/duck_arrow/article/details/44808539