求助: Apache 虚拟目录设置问题:Forbidden

由 lot 在 10-14-2003 09:08 发表:

求助: Apache 虚拟目录设置问题:Forbidden

我的Apache 根目录是

DocumentRoot "/var/www/html"

根目录下面的文件可以成功访问

我想设置一个虚拟目录

Alias /www/ "/home/lot/www/"

但用 127.0.0.1/www/index.php 访问的时候出现错误,目录/home/lot/www的权限为755

改为777也不行 :-( 求助

Forbidden

You don't have permission to access /www/index.php on this server.

...


由 天剑 在 10-14-2003 09:20 发表:


我没试过,你试试:

DocumentAlias /www/ /home/lot/www


由 lot 在 10-14-2003 09:43 发表:


谢谢天剑的解答,但好像不行

重新启动Apache时出错

Invalid command 'Document

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus