首页 > 开发 > Apache > 正文

apache 403错误解决方法

2018-10-16 21:21:29
字体:
来源:转载
供稿:网友

  修改了httpd.conf文件后,重新启动apache.打开127.0.0.1,出现错误:

  apache 403错误,显示信息如下:

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

 

  解决方法:修改httpd.conf文件,找到这么一段:

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny  from all
</Directory>

  把Deny from all中的改成了Allow from all,保存后重起了apache。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表