Re: Web server permission in FC9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux