You don't have permission to access /jj/ on this server

Bob Brennan fedora at synapse-solutions.com
Sun Jan 2 12:04:28 UTC 2005


>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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20050102/d368fe61/attachment-0002.html 


More information about the users mailing list