码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2015-11-16 22:55:43      阅读:326      评论:0      收藏:0      [点我收藏+]

标签:

出现这个报错需要更改apache配置文件

sudo vi /etc/apache2/httpd.conf

 

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

或类似

 

修改为

 

<Directory />  
    Options Indexes FollowSymLinks  
    AllowOverride None  
</Directory>

 

 

 

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

标签:

原文地址:http://www.cnblogs.com/voidcat/p/4970226.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!