httpd.conf problem

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sat Oct 23 16:35:36 UTC 2004


Am Sa, den 23.10.2004 schrieb Bas Bosman um 18:22:

> This probably is a stupid question but i did a reinstall of my server
> today and as of now my virtual server setting aren't good anymore.
> 
> I put back the old httpd.conf and the domain settings are still the
> same but it only displays 1 page.
> 
> the conf is:

[ ... ]

> <VirtualHost *>
> DocumentRoot /online/forum/

You better choose paths which follow the FHS.

> ServerName forum.lmv-clan.nl
> </VirtualHost> 
> 
> <VirtualHost *>
> ServerAdmin bas at lmv-clan.nl
> DocumentRoot /online/lmv/
> ServerName lmv-clan.nl
> ServerAlias www.lmv-clan.nl
> </VirtualHost>
> 
> 
> So now http://lmv-clan.nl delivers forum instead of the main site.
> does anyone knows what to do?
> 
> Bas

Please read the Apache docs: http://httpd.apache.org/docs-2.0/vhosts/.
At least: where is the "NameVirtualHost *:80" instruction? Check the
config with "apachectl". Do all server names locally resolve? What is
the main server's name?

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 18:30:16 up 3 days, 15:09, load average: 0.68, 0.56, 0.45 
-------------- 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/20041023/19a33e7b/attachment-0001.sig>


More information about the fedora-list mailing list