httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From darren chamberlain <>
Subject Re: 1.3.22
Date Fri, 14 Dec 2001 17:16:02 GMT
Michael <> said something to this effect on 12/13/2001:
> If apache is running on a host with no host name configured with only 
> a default virtual host and you send something like:
> GET / HTTP/1.1
> hostname:
> apache returns the page designated for the server root
> if instead the request looks like
> GET /~someuser/dir/file.html
> hostname:
> you get
> <TITLE>400 Bad Request</TITLE>
> <H1>Bad Request</H1>
> Your browser sent a request that this server could not understand.<P>
> client sent HTTP/1.1 request without hostname (see RFC2616 section
> 14.23): /~michael/labrea/html_report.plx<P> </BODY></HTML>
> This does not seem to be the correct behavior. It is not clear to me 
> from RFC2616. Shouldn't apache accept the request because it is an 
> abosolute URI ???

You need to specify a protocol:

GET /~someuser/dir/file.html HTTP/1.0

Of course, that may have been just a typo in your example...

Plus, I can't seem to get "hostname" to work, only "host", when
going through a layer 5 switch (arrowpoint CS800); is the
"hostname" header part of the standard, and interchangable with


Nothing worse could happen to one than to be completely understood.
    -- Carl Gustav Jung

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message