Re: httpd serving wrong DocumentRoot

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

 



> 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
>
> Something someone isn't working as I expected!
>
> Duncan
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
- did you restart apache? /sbin/service httpd restart
- did you clean your pc's cache?
- did you eventually clean your proxy's cache?
- have you not just set your document root directive, but also the directory-directive:
    <Directory "/var/www/html"> to <Directory "/mnt/SharedFiles/www"> in /etc/httpd/conf/httpd.conf?
- does the user running apache the appropriate rights ?

HTH
Roger


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

  Powered by Linux