日期:2014-05-16  浏览次数:20970 次

配置apache时出现You don't have permission to access / on this server错误的解决
今天准备学习php,在安装apache时出现You don't have permission to access / on this server错误。查了一下apache手册找到问题所在处。这里定义了默认对网站根的访问权限。
将:
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

改为:
<Directory />
    Options Indexes FollowSymLinks
    AllowOverride None
</Directory>

终于出现It works!