Re: FC3 issue with apache 2

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

 



I am sorry I picked up on this late, but I have the same trouble. Did this fix the problem?

I have a small issue with the fix (if it did). Apache runs as user apache, so naturally I set all my file ownership to my webdev user who has write access, and group to apache who only has read access (accept directories of course where apache has execute), with no permissions for other. This means if Apache is compromised it can't write into the directory or over write a file with something very probably unwanted. If the apache user needs write access this security model would be rather useless!! Any comments anyone?

Thanks,

Neil.

James McKenzie wrote:

scootgirl.com wrote:

Hi,

I installed FC3 and I wanted to move my apache2 documentroot from its default /var/www/html to another volume located at /space/vhosts. When I do this apache2 complains:

Syntax error on line 265 of /etc/httpd/conf/httpd.conf:
DocumentRoot must be a directory

This is a directory and is writeable by me, and has the user apache access to list and read its files. Yet, for some reason, apache doesn't like this volume.

Karen:

The directory and all files in it must be writable by apache and (if I remember correctly) must be owned by the user running httpd.
See if changing this will allow httpd to run.



-- Neil Marjoram Systems Manager Adastral Park Campus University College London Ross Building Adastral Park Martlesham Heath Ipswich - Suffolk IP5 3RE

Tel: 01473 663711
Fax: 01473 635199


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux