Well I've looked all over and the only way I can get apache to
serve files in subdirectories below www/html/ is to de-select Enforcing
Current: in the the Security Level Configuration SELinux options.
[Fri Dec 31 12:22:01 2004] [error] [client 192.168.2.25] (13)Permission
denied: access to /jj/index.php denied
de-select enforcing current and it works.
I don't see anything in php.ini or httpd.conf.
It's affecting the /var/www/cgi-bin/qmailadmin also. qmailadmin complains
it cant find the /var/qmail/users/access. with enforcing current selected.
Is this the only to get this to work? I really like the added security.
Thanks
swalker(a)caspercollege.edu
I had this same situation and solved it by adding "Alias"s to the httpd.conf
file. There is an example in the file and some explanatory text but basically you Alias
the incoming domain name request to a fully qualified path. example:
Alias /my-domain.com "var/www/my-domain.com"
As with many Linux names you may want to add variations on capitalisation or a trailing
slash to be sure they all get through. Leave 'enforcing current' on.
Hope this helps,
bob