Ask Your Question

Revision history [back]

I missed checking out seLinux.

Using ls -laZ /var/www/html I learned that the files in the html folder have not been set in the needed seLinux context.

Following https://wiki.centos.org/HowTos/SELinux helped me to set the required context. sudo chcon -Rv --type=httpd_sys_content_t /var/www/html