Web server permission in FC9
Craig White
craigwhite at azapple.com
Thu May 22 01:10:42 UTC 2008
On Wed, 2008-05-21 at 20:57 -0400, Charles Layno wrote:
> Ok, I know I have something screwed up here and for the life of me I can't
> see the forest for the trees.
>
> I am upgrading from FC6 to FC9 with a new box and install. I use a
> different area to house my files for the web server than /var/www/html. I
> have taken my old httpd.conf and changed the DocumentRoot's in the new
> config file and even tried a symbolic link to see if I could get passed the
> permission issue I have. The regular server is working but the "not
> configured page" works just fine so I know the server is working. Here is
> the error message I am getting:
>
>
>
> #Forbidden
>
> #You don't have permission to access / on this server.
> #Additionally, a 404 Not Found error was encountered while trying to use an
> ErrorDocument to handle the request.
>
> I have run out of ideas.
----
you're obviously being deliberately vague and that makes suggestions
much harder but things to check first...
1 - selinux (are there messages in /var/log/messages that indicate
denied access?)
2 - httpd runs as user apache and user apache might not have access into
the directories.
try running chmod o+x on the directory so that 'others' can descend
into the
directory where your files are stored. You might have other
subdirectories needing
a similar change of permissions too.
3 - /var/log/httpd/error_log is your friend
Craig
More information about the users
mailing list