Re: [squid-users] Incorrect HTTP GET request from squid

From: Eric Lawson <E.Lawson@dont-contact.us>
Date: Wed, 17 Jul 2002 09:34:20 +1000

>>>> Henrik Nordström <hno@marasystems.com> 07/16/02 06:53pm >>>
>Frank Eibisch wrote:
>> > the cache server. Why doesn't the cache server just send the same GET
>> > request (GET http://www.smh.com.au/ HTTP/1.0) that my browser is
>> > sending? Instead of GET / HTTP/1.0
>>
>> Because it does not have to. If you try to fetch http://www.smh.com.au you
>> first get the IP-address of www.smh.com.au, which is 203.26.51.42 for me.
>
>Further, there is web servers who contrary to the HTTP/1.1 specification can't
>accept requests with a full URL in the request line..
>
Here's a thought, could there be another cache/proxy/who knows what box between my firewall and the 203.26.51.42 ip address, that is stripping the host header from the packet? If it leaves the request line as is, this could explain the problem that I am encountering.

With not going through the cache server. the host header is stripped, but the request line is left alone, which is then handled by the server on 203.26.51.42 and I am served the right page.

If I then put the cache server into the loop. The cache server modifies the request line. This other box then strips the host header. Then the server on 203.26.51.42 is doing what it is asked, and serving me the root page on the default site on that address.

Eric

######################################################################
                         Warning

This email message and any attached files may contain information
that is confidential and subject of legal privilege intended only
for use by the individual or entity to whom they are addressed. If
you are not the intended recipient or the person responsible for
delivering the message to the intended recipient be advised that
you have received this message in error and that any use, copying,
circulation, forwarding, printing or publication of this message or
attached files is strictly forbidden, as is the disclosure of the
information contained therein. If you have received this message in
error, please notify the sender immediately and delete it from your
Inbox.

www.nca.gov.au
######################################################################
Received on Tue Jul 16 2002 - 17:38:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:16 MST