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

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

>>>> Frank Eibisch <feibisch@estec.net> 07/16/02 06:19pm >>>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Tuesday 16 July 2002 09:12, Eric Lawson 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.
>Then you connect to that server at port 80. The rest of the request is
>getting a local file from the server. And because you want to fetch the
>"DocumentRoot" of that server, the correct line is "GET /". Additional the
>Host-Header is to distinguish several virtual hosts on the same ip. So squid
>does behave correct here.
>
>Your problem is strange, indeed. Have you turned on accelerator mode or
>redirection? What about Hendriks question about transparent proxy?
>

But I don't want to get the document root from the 203.26.51.42 ip address. Because the document root is the f2.com.au page. Not the smh.com.au page.

Accelarator mode is off, and there is no redirection. As I replied to Hendrik's question. This box is configured as a standard proxy, not a transparent one.

######################################################################
                         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:47 MDT

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