You don’t have permission to access / on this server.(Apache下403 Forbidden错误)
错误:HTTP 错误 403 – 禁止访问
即403 Forbidden:You don’t have permission to access / on this server.
打开apache的配置文件httpd.conf,找到以下这段代码:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
将“Deny from all”已经拒绝了一切连接改成“allow from all”。
修改后的代码如下:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
allow from all
</Directory>
参考:http://www.cnblogs.com/qiantuwuliang/archive/2009/06/27/1512251.html