www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars.Eilebre...@unix-ag.org
Subject Re: general/1788: virtualhosts don't work as documented
Date Wed, 11 Feb 1998 12:16:41 GMT
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

Synopsis: virtualhosts don't work as documented

State-Changed-From-To: open-closed
State-Changed-By: Lars.Eilebrecht@unix-ag.org
State-Changed-When: Wed Feb 11 04:16:40 PST 1998

The vhosts docs note several times that the
first name-based vhosts has the highest priority
and is always used if there is no other vhosts
(which is the case in your configuration)
If you use the ip address of your main server for
name-based vhosts the main server won't be used
to serve any pages.

You can either create a "_default_" vhost as your
"main server" (see the example-page for details)
which is the recommended method or you can add
the following 'dummy' vhost as the first
vhost section in your configuration:

 <VirtualHost ip.of.your.mainserver>
 ServerName your.main.servers.hostname

View raw message