HTTP错误:Forbidden You don't have permission to access …… on this server.

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了HTTP错误:Forbidden You don't have permission to access …… on this server.相关的知识,希望对你有一定的参考价值。

1.出现这种错误,一般用的web服务器是Apache

2.找到:apache配置文件,打开httpd.conf 文件,做如下修改:

   第一处:找到

    <Directory />

      Options FollowSymLinks

      AllowOverride None

      Order deny,allow

      Deny from all

      Satisfy all

    </Directory>

    修改成

    <Directory />

      Options FollowSymLinks

      AllowOverride All

      Order deny,allow

      #   Deny from all

      Allow from all

      #允许所有访问

      Satisfy all

    </Directory>

  第二处:找到:

      #   onlineoffline tag - don‘t remove

      Order Deny,Allow

      Deny from all

      Allow from 127.0.0.1

    </Directory>

    修改成:

     #   onlineoffline tag - don‘t remove

     Order Deny,Allow

     #   Deny from all

     #   Allow from 127.0.0.1

     Allow from all

   </Directory>

3.重启Apache服务。


本文出自 “高防服务器销售,自带运维” 博客,请务必保留此出处http://kenvik.blog.51cto.com/11000054/1858409

以上是关于HTTP错误:Forbidden You don't have permission to access …… on this server.的主要内容,如果未能解决你的问题,请参考以下文章

MAMP "403 Forbidden You don't have permission to access / on this server."

Apache mod_wsgi 错误:Forbidden You don't have permission to access / on this server

redhat centos apache 403 错误 Forbidden You don't have permission to access / on this server(示例代码

打开有些网站显示403 Forbidden You don''t have permission to access on this server怎么破?

安装phpstudy 测试出现403错误 Forbidden You don't have permission to access / on this server. 跪求解

403 Forbidden You don‘t have permission to access this resource. Apache Server at IP Port 80的解决方法