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 Wed, 03 Jul 2002 08:32:35 GMT
>From: Michiel_Lange@actuera.nl [mailto:Michiel_Lange@actuera.nl]

>Hmm... strange... funny even...
>my GETs don't return the hostname...
>telnet intracc.actuera.nl 80
>type "GET / HTTP/1.1" <enter> <enter>
>
>HTTP/1.1 400 Bad Request
>Date: Tue, 02 Jul 2002 08:00:14 GMT
>Server: Apache/1.3.24 (Unix)
>Connection: close

It's a "Bad Request" because you didn't include a "Host:" header! If you say you're going
to use HTTP/1.1, you *must* send a Host. Only in HTTP 1.0 can you miss out the Host. Try;

GET / HTTP/1.1
Host: intracc.actuera.nl <enter> <enter>

and see what happens...

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