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

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


I solved this problem!Apache could not access those directories because of the SELinux security settings.All i had to do is to apply this command to the directory in the path to document root:

chcon -R -t httpd_sys_content_t


I had a SELinux issue. I first tried chcon -t httpd_sys_content_t but that didn't fix it. After that I did setsebool -P httpd_read_user_content 1 and it worked. I don't know if the first command was necessary or only the second.


This line:

[client 127.0.0.1] (13)Permission denied: access to / denied

makes me think there is a misconfiguration somewhere - a second VirtualHost for example, or a global DocumentRoot definition.

That second definition is somehow setting DocumentRoot to the system's root directory. Apache is right to deny that.

You need to find the definition that is causing this, and remove it.