httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dean gaudet <dgaudet-list-new-ht...@arctic.org>
Subject Re: protocol question, Roy?
Date Sun, 25 Feb 2001 23:20:10 GMT
On Fri, 26 Jan 2001 rbb@covalent.net wrote:

> Try this on any version of Apache:
>
> telnet localhost 8080
> GET http://www.yahoo.com/ HTTP/1.0
>
> This will get you the index of the current machine.

that is correct.  and you'll get the index of the "current machine" (i.e.
default server) if you do this as well:

GET / HTTP/1.0
Host: www.yahoo.com

there's no way in hell apache can know all the names which refer to the
server.  any client out there can be configured with any DNS view they
want.  there's no lookup apache can do to figure out what the client
meant.  (especially when you consider the client can be configured with a
different dns search path ... and the user may just refer to a host named
"fred" whose full name is "fred.wilma.com".)

i think there's more reasons for this, but i'm too lazy to search the
archives to find them all.

-dean


Mime
View raw message