Apache Permission Denied

On a newly installed Apache server, when I visit the website, I get permission denied error. On Apache error log (/var/log/httpd/error_log), i found

I tried changing the folder permission to 755, but it did not fix it. The problem was caused by SELinux.

Solution

I disabled SELinux.

To make it permanent, edit file /etc/selinux/config, set

See Apache

Leave a Reply

Your email address will not be published. Required fields are marked *