httpd serving wrong DocumentRoot

Alexander Dalloz ad+lists at uni-x.org
Mon Mar 14 14:49:44 UTC 2005


Am Mo, den 14.03.2005 schrieb Duncan Lithgow um 14:03:

> I'm trying to get apache2 to run on fc3 just for local work but having
> lots of problems...
> 
> 1. I've edited /etc/httpd/conf/httpd.conf so it reads ...
> # DocumentRoot "/var/www/html"
> DocumentRoot "/mnt/SharedFiles/www"
> ... that /www is on a vfat partition, I've stopped SELinux from
> protecting apache.
> 
> 2. I've commented out /etc/httpd/conf.d/welcome.conf
> 
> 3. the /mnt/SharedFiles/www is owned by 'root' and the 'common' group of
> which apache is a member.
> 
> But i still get the content from /var/www/error/noindex.html

Create an index page and see whether this one is displayed. Check too
the error_log file.

> Duncan

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp 
Serendipity 15:48:20 up 1 day, 18:21, load average: 0.08, 0.11, 0.10 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050314/e20b8606/attachment-0001.sig>


More information about the fedora-list mailing list