技术知识库

帮助中心 >  产品文档 >  云服务器 >  xampp Apache Access forbidden! Error 403

windows下使用xampp Apache配置虚拟主机,访问相关网页出现:

xampp Apache Access forbidden! Error 403
Access forbidden!  You don’t have permission to access the requested object. It is either read-protected or not readable by the server.

只需要将http.conf文件中的:

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

改成:

<Directory />
      ServerName test
      Options None  
      Order allow,deny  
      Allow from all   
  </Directory>

保存重启apache即可。


提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: