Apache下403 Forbidden错误

apache

2009-02-14 19:53

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