Home > Database > Mysql Tutorial > body text

Apache 403 error, (13)Permission denied: access to / denied

WBOY
Release: 2016-06-07 15:42:56
Original
1319 people have browsed it

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





Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template