httpd-users mailing list archives

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

>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'
>site.

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

Rgds,

Owen Boyle

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message