Todd Cary todd@aristesoftware.com wrote:
The privileges are 754 (rwxr-xr--), however apache does not have access to them. Should the owner be apache? Group? <<
It's probably the SELinux labels preventing access - I stumbled across this yesterday while setting up a local mirror to deploy 5.6.
Do an ls -lZ on the stuff in /var/www/html - it should look something like this:
drwxr-xr-x root root system_u:object_r:httpd_sys_content_t CentOS
You've probably got the wrong user and type on your files. Use chcon to change them - from memory
chcon -R -u system_u -t httpd_sys_content_t
I hope that gets it for you.
Best,
--- Les Bell [http://www.lesbell.com.au] Tel: +61 2 9451 1144
chcon -R -u system_u -t httpd_sys_content_t
chcon is a temporary change - to make it permanent use restorecon after:
http://docs.fedoraproject.org/en-US/Fedora/13/html/Security-Enhanced_Linux/s...
Josh