当前位置: 代码迷 >> 综合 >> 访问 Apache 服务器提示(Forbidden You don't have permission to access / on this server 403)
  详细解决方案

访问 Apache 服务器提示(Forbidden You don't have permission to access / on this server 403)

热度:72   发布时间:2023-12-05 08:23:56.0
找到 apache 配置文件 "httpd.conf"找到如下代码块:
<Directory />AllowOverride AllRequire all denied
</Directory>内容可能如下:     //内容可能存在差异
<Directory />Options FollowSymLinksAllowOverride NoneOrder deny,allowDeny from all
</Directory>需要修改:Deny from all         //拒绝了一切连接或Require all denied    //拒绝所有访问修改如下:
Require all denied => Require all granted
Deny from all      => Allow from all

 

  相关解决方案