XAMPP访问出现Access forbidden!

2009-04-24 17:09 0 条评论 »

同样的httpd.conf配置文件,本机上运行XAMPP,打开网站就出现错误。

Access forbidden!

You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

Error 403

解决方法

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

修改 Deny from all 为 Deny from allow

评论