apache 403错误 You don't have permission to access on this server

2014年07月05日 04:24 by:老修--走失的镜头盖

Apache服务器浏览器访问时,出现403错误提示

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

出现这个问题的怎么办? 解决方法如下: 

打开配置文件 /etc/httpd/conf/httpd.conf,找到这么一段:

  1. <Directory "/你的网站目录">
  2. Options Indexes FollowSymLinks
  3. AllowOverride None
  4. Order allow,deny
  5. Allow from all
  6. </Directory>

然后试着把deny from all中的deny改成了allow,保存后重启apache : service httpd restart

标签:apache 403