Apache - File Permissions

13/11/09

Copied ABCtalesradio files to ABC server. To test, put them in the directory previously occupied by booktribes.com. Tried to access via www.booktribes.com. Apache returns 403, access denied.

tail /var/log/httpd/error_log shows:
(13)Permission denied: access to /index.html denied

The (13) indicates that the problem is with file permissions, not the Apache config.

Checked that all directories and scripts 755, all files 644.

setenforce 0 clears the problem, which is therefore with SELinux extended file permissions. Reset to setenforce 1. (Note: getenforce returns current SELinux status.)