XAMPP添加虚拟主机之后提示Access forbidden! 403错误的解决办法

XAMPP 版本:3.1.0

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行位置,找到

改成

然后重启即可解决虚拟主机目录的权限问题

Wyatt

Wyatt

Some scenery, once to see into the heart, even in the moment, is eternal.

You may also like...

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据