LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 569|回复: 2

Apache Server Forbidden

[复制链接]
发表于 2005-3-18 13:28:42 | 显示全部楼层 |阅读模式
安装好apache后,输入本机ip或域名能访问http服务. 但访问网站上目录时出现如下错误:

Forbidden

You don't have permission to access /test/ on this server.
Apache/2.0.53 (Unix) PHP/4.3.10 Server at semon Port 80

网站目录结构如下:
/home/www
        --index.html
        --test/

Http.conf 中 DocumentRoot 设置如下:
<Directory "/home/www/">

#
# Possible values for the Options directive are "None", "All",
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
    Options Indexes FollowSymLinks MultiViews

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
    AllowOverride None

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all

</Directory>


不知道怎么设, 哪位大哥能帮帮我吗?
发表于 2005-3-18 14:03:52 | 显示全部楼层
看起来是权限问题。
但是往往它不是权限问题。
回复 支持 反对

使用道具 举报

发表于 2005-3-18 15:19:30 | 显示全部楼层
将这个TEST目录权限改为1777,试试能不能.
好像有兄弟遇到过你这样的问题.你搜一下北南老大的贴子.他有篇贴子讲过这个.我忘了完整的过程了.不好意思.~~~不过这个是权限的问题是无疑的.
如有问题,再讨论.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表