[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Sun, 13 Jul 1997, Ira Abramov wrote:
> I'm using a mixture of IP based (http0.9) and http1.0 virtual hosting
> techniques, and there is indeed a glitch in my config. if you will access
> that address and ask
not. that's http/1.0 and http/1.1. from the http/1.0 spec document i got,
here is a nice quote:
5.3 Request-URI
The Request-URI is a Universal Resource Identifier (Section 3.2)
and identifies the resource upon which to apply the request.
Request-URI = URI
Unless the server is being used as a proxy, a partial URI shall be
given with the assumptions of the scheme (http) and hostname:port
(the server's address) being obvious. That is, if the full URI
looks like
http://info.cern.ch/hypertext/WWW/TheProject.html
then the corresponding partial URI in the Simple-Request or
Full-Request is
/hypertext/WWW/TheProject.html
If the client is sending the request through a proxy, the absolute
form of the URI (including scheme and server address) must be used.
A proxy must be able to recognize all of its server names,
including any aliases, local variations, and the numeric IP address.
as one can see, the client is expected to send a partial URI in 1/0,
UNLESS it is accessing a proxy server, in which case it is expected to
suply a full URI. (i haven't included the quote specifying the format of a
'GET' request).
there *may* be additional headers in a GET request, but these do NOT
include a 'host' address. that is only being done in HTTP/1.1
sorry for being so pedant, but today i feel like it.
guy
> you will regretably get the debian mirror (which should be
> debial.linux.org.il). most modern (including later versions of lynx) will
> make thwe RIGHT request:
>
> GET http://www.linux.org.il/ HTTP1.0 \n\n
which is required ONLY when using a proxy server. and then again, the
proxy server itself is NOT required to pass this request as is to the
server. on the contrary, they all forward only the partial URI.
> I especially put www.linux.org.il on an extra, aliased IP address because
> I new there were some people out there still using old lynx's but I later
> broke it by mistake when I added debian... will be fixed in 72 hours, when
> I'll be back in Israel...
what for? you've only been there for a month or two, allready a "hoofshat
moledet"? ;)
guy
References: