Re: apache document root on mounted drive on FC5

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

 



James Thorpe wrote:
> Hi List,
> 
> I've got a mounted drive with several directories under it, all of which
> can be properly accessed through samba.  I'm now attempting to use one
> of these as the apache document root, but whatever it tries to serve up
> gives a 403 forbidden.  Looking in the apache error_log, it seems that
> apache itself doesn't have access to these folders.  I've been playing
> around with permissions to no avail, and SELinux is turned off.  As soon
> as I move the document root back to /var/www/html, it's fine again.
> 
> Any thoughts?
> 
> Thanks,
> James.
> 
What are the ownership/permissions of the directory tree? The
directories have to have to be both readable and searchable by the
user or group Apache is running as. (Usually user or group apache.)
If they are not owned by ether user or group apache, then they will
need to be world readable/searchable. The files only need to be
readable. This applies not only to the directories the files are in,
but the directory tree back to the root directory.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-- 
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