Are you running SELinux? Check the security context of the files in questions:
You should see something like:
Code:
drwxr-xr-x root root system_u:object_r:httpd_sys_content_t error
The important part here is the system_u
bject_r:httpd_sys_content_t. If they aren't set to that, and SELinux is set to enforce, you need to do the following:
Code:
$ chcon system_u:object_r:httpd_sys_content_t * -R
To change the context of each file within the directory and its subdirectories. If you don't need a recursive change remove the -R from the command. Restart httpd, and if SELinux is the culprit, this will resolve your issues. The log file to look at to confirm SELinux problems is /var/log/audit/audit.log. If this fixes your problem, look into
http://www.chinaitpower.com/2005Sept...13/201367.html for a quick rundown of SELinux policies and applications.
HTH,
Mike.