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

Bob Brennan fedora at
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] (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.
>swalker at

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 / "var/www/"

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,
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the users mailing list