|
|
安装好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>
不知道怎么设, 哪位大哥能帮帮我吗? |
|