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 Wed, 03 Jul 2002 08:32:35 GMT
>From: []

>Hmm... strange... funny even...
>my GETs don't return the hostname...
>telnet 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: <enter> <enter>

and see what happens...


Owen Boyle

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

View raw message