scootgirl.com wrote:
----- Original Message ----- From: "Randy Kelsoe" <randykel@xxxxxxxxxx>
To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
Sent: Tuesday, November 16, 2004 1:29 AM
Subject: Re: FC3 issue with apache 2
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.
What do you get when you do a 'grep -i documentroot
/etc/httpd/conf/httpd.conf'
and a 'ls -l /space/' ?
I get:
DocumentRoot "/var/www/html"
#DocumentRoot "/space/vhosts"
The second entry I comment out and try both. I get that error when the
DocumentRoot "/space/vhosts" is used.
For the 2nd request I get:
[root@utopia karen]# ls -l /space/
total 48
drwxr-sr-x 2 karen karen 4096 Nov 12 02:18 Anonymous_FTP
drwxr-sr-x 2 karen karen 16384 Nov 11 15:35 lost+found
drwxr-sr-x 20 karen karen 4096 Nov 12 03:15 programs
drwxr-sr-x 4 karen karen 4096 Nov 15 05:55 scootgirl_backups
drwxr-sr-x 58 karen karen 4096 Nov 14 13:14 vhosts
try setting the user (owner) of vhosts to the user apache is runnig.
Regards
Götz Reinicke
--
Götz Reinicke
IT Koordinator - IT OfficeNet
Tel. +49 (0) 7141 - 969 420
Fax +49 (0) 7141 - 969 55 420
goetz.reinicke@xxxxxxxxxxxxxxx
Filmakademie Baden-Württemberg
Mathildenstr. 20
71638 Ludwigsburg
www.filmakademie.de