httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: Strange things with virutal hosts
Date Mon, 01 Jul 2002 13:44:06 GMT
>From: []

>The machine is running different virtual hosts, say
>develop, test, forreal
>The main document is 'forreal' which everybody will see even 
>if they call
>the site by IP number.
>When I do "http://develop/" I get the 'forreal' site. (Which I 
>don't want
>right then, right there)
>However when I do "http://develop/index.html" I get the right 'develop'

I guess you need "UseCanonicalName on" in each VH. This will make sure the self-referential
redirect from apache points back to the right VH (I'm guessing you made a subtle mistake in
your post and that you really get:

http://develop             -> forreal
http://develop/            -> develop
http://develop/index.htmlo -> develop


Owen Boyle

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message