Access forbidden! XAMPP虚拟主机的问题

XAMPP Control Panel v3.2.1添加虚拟主机出现

Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

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

Error 403

解决方法:

打开D:\xampp\apache\conf\httpd.conf文件,大概220行位置,找到

<Directory />
    AllowOverride none
    Require all denied
</Directory>

改成

<Directory />
    #AllowOverride none
    AllowOverride All
    #Require all denied
    Require all granted
</Directory>

即可。

posted on 2013-08-20 11:35  阿Q新传  阅读(1716)  评论(0编辑  收藏  举报