httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herb Stein" <h...@herbstein.com>
Subject Re: Strange things with virutal hosts
Date Mon, 01 Jul 2002 21:10:42 GMT
We need to see the section of httpd.conf that does this.
----- Original Message -----
From: "Boyle Owen" <Owen.Boyle@swx.com>
To: <users@httpd.apache.org>
Sent: Monday, July 01, 2002 9:40 AM
Subject: RE: Strange things with virutal hosts


> >From: Michiel_Lange@actuera.nl [mailto:Michiel_Lange@actuera.nl]
> >
> >I figured that setting was not set yet, so I did it, but to no
> >real avail:
> >I still get:
> >http://develop -> forreal
> >http://develop/ -> forreal
> >http://develop/index.html -> develop
>
> Check that your config looks something like this:
>
> NameVirtualHost 192.168.1.1
>
> Listen 192.168.1.1:80
>
> <VirtualHost 192.168.1.1:80>
>   ServerName forreal
>   DocumentRoot /home/forreal
>   UseCanonicalName on
>   ..
> </VirtualHost>
>
> <VirtualHost 192.168.1.1:80>
>   ServerName develop
>   DocumentRoot /home/develop
>   UseCanonicalName on
>   ..
> </VirtualHost>
>
> My guess would be a problem with re-direction. What happens if you hit the
server from the command line, e.g.
>
> $ telnet 192.168.1.1 80
> ..
> GET / HTTP/1.1
> Host: develop
> [RTN][RTN]
>
> Rgds,
>
> Owen Boyle

And I apologize for top posting.
--
Herb Stein
The Herb Stein Group
www.herbstein.com
herb@herbstein.com
314 952-4601




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


Mime
View raw message