今天在CentOS系统的Apache出现错误:Apache 403 error, (13)Permission denied: access to / denied
检查了一圈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
Copyright © 2013-2021 8a.hk All Rights Reserved. 八艾云 版权所有 中山市八艾云计算有限公司 粤ICP备14095776号