宝玛科技网
您的当前位置:首页Apache403error,(13)Permissiondenied:accessto/denied

Apache403error,(13)Permissiondenied:accessto/denied

来源:宝玛科技网


CentOS系统 检查了一圈httpd.conf和目录权限,均没有发现问题。 最后,看了这篇文章,发现是因为系统启动了SELINUX导致的。 http://stackoverflow.com/questions/8816836/apache-403-error-13permission-denied-access-to-denied-fedora-16 关闭SELINUX sete


CentOS系统

检查了一圈httpd.conf和目录权限,均没有发现问题。

最后,看了这篇文章,发现是因为系统启动了SELINUX导致的。

http://stackoverflow.com/questions/8816836/apache-403-error-13permission-denied-access-to-denied-fedora-16


关闭SELINUX

setenforce 0


vim /etc/selinux/config

修改

SELINUX=enforcing

改成

SELINUX=disabled

显示全文