现在的位置: 首页 > 综合 > 正文

apache默认配置 访问目录403错误 出现You don’t have permission to access / on this server

2012年01月05日 ⁄ 综合 ⁄ 共 201字 ⁄ 字号 评论关闭

将httpd的配置文件 /etc/httpd/conf/httpd.conf中找到:

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>

改为:

<Directory />
Options Indexes FollowSymLinks
AllowOverride None
</Directory>

抱歉!评论已关闭.