eclispe中访问php问题:You don't have permission to access /***.php on this server.

来源:互联网 发布:windows安装苹果系统 编辑:程序博客网 时间:2024/05/12 19:34
今天我们的服务器出了一点儿问题:任何访问都会返回一个403的错误:

  Forbidden  

 You don't have permission to access  on this server。

在经过了一番思考之后,我认为问题肯定出在httpd.conf文件中,于是就又重新检查httpd.conf文件,终于让我发现了其中有这样一段:

<Files ~>
AllowOverride AuthConfig FileInfo Indexs Limit Options
Order allow ,deny
Deny from all-----------------注意:就是这儿!!--->把这行去掉或注释掉就行!!!
</Files>


然后重启apache,哈哈,是不是解决了呢.....