求助!You don't have permission to access /logp on this server

qqwx_1986 2014-05-04 03:22:55
用的apache/php
httpd.conf配置如下

DocumentRoot "/var/www/html"
<Directory />
Options FollowSymLinks
AllowOverride ALL
Order deny,allow
Allow from all
</Directory>

<Directory "/var/www/html">

#
# 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.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# 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>

然后我在index.html中加入
<h2><a href="logp/index.php">log</a></h2>
但是点击log后提示
Forbidden
You don't have permission to access /logp on this server.
Apache/2.2.15 (CentOS) Server at 103.19.96.191 Port 80

logp是在index.html的同级目录下的一个软链接 (ln -s ),求助怎么弄
...全文
265 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧