Synopsis: IP-based VirtualHosts Broken.

State-Changed-From-To: analyzed-closed
State-Changed-By: dgaudet
State-Changed-When: Sun Jul 20 17:09:04 PDT 1997
State-Changed-Why:
Virtualhosts are hopelessly broken (in my opinion) in 1.2 and 1.1
for certain cases.  You seem to be tickling one of them.  But I've
never seen a setup that couldn't be solved by using the following
(non-inuitive) config:

ServerName localhost
<VirtualHost a.b.c.1>
ServerName www.virtualhost1.com
...
</VirtualHost>
<VirtualHost a.b.c.2>
ServerName www.virtualhost2.com
....
</VirtualHost>

In short, don't use the "global" or "main" server at all, stick
everything in virtualhosts.  Then fool Apache into thinking that
the main server's address is 127.0.0.1, which is an address you're
quite unlikely to try serving as a virtualhost.

If that doesn't do the job then tell me and I'll re-open the
PR.

Dean

Reply via email to