Apache 403 error, (13)Permission denied: access to / denied
程序员文章站
2022-04-21 17:47:45
...
CentOS系统 检查了一圈httpd.conf和目录权限,均没有发现问题。 最后,看了这篇文章,发现是因为系统启动了SELINUX导致的。 http://*.com/questions/8816836/apache-403-error-13permission-denied-access-to-denied-fedora-16 关闭SELINUX sete
CentOS系统
检查了一圈httpd.conf和目录权限,均没有发现问题。
最后,看了这篇文章,发现是因为系统启动了SELINUX导致的。
http://*.com/questions/8816836/apache-403-error-13permission-denied-access-to-denied-fedora-16
关闭SELINUX
setenforce 0
或
vim /etc/selinux/config
修改
SELINUX=enforcing
改成
SELINUX=disabled
下一篇: 第一天搞PHP,崩溃了,这都报错?
推荐阅读
-
Apache启动错误Permission denied: httpd: could not open error log file解决方法
-
Nginx报403 forbidden错误 (13: Permission denied)的解决办法
-
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/itsdangerous' C
-
linux中nginx报错:403 forbidden(13: Permission denied)
-
Mariadb5.5修改默认端口( error: 13: Permission denied)
-
ERROR 3680 (HY000): Failed to create schema directory 'hive' (errno: 13 - Permission denied)
-
Android:java.io.IOException: Cannot run program "/system/xbin/su": error=13, Permission denied
-
Nginx报403 forbidden错误 (13: Permission denied)的解决办法
-
[转] Apache Mod_proxy '[Error] (13)Permission Denied' Error on RHEL
-
Apache 403 error, (13)Permission denied: access to / denied