Re: [squid-users] Squid and HTTP Host value

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 04 Jul 2008 11:47:01 +1200

Julian Gilbert wrote:
> I am trying to configure squid 2.5 and looking for some assistance.

The first assistance we can give is upgrade to 3.0 or 2.7.
2.5 is well and truly obsolete now.

> When
> I make client request to squid in the form:
>
> GET http://66.102.9.147/
> HOST www.google.co.uk
>
> the squid proxy makes the following request to the web server:
>
> GET /
> HOST 66.102.9.147
>
> How do I configure squid not to overwire the host value? The request
> from squid should be sent as:
>
> GET /
> HOST www.google.co.uk

The client asked for http://66.102.9.147/, nothing to do with google as
far as HTTP is concerned. It's a security feature to prevent domain
hijacking.

Amos

-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE7
Received on Thu Jul 03 2008 - 23:47:00 MDT

This archive was generated by hypermail 2.2.0 : Sat Jul 05 2008 - 12:00:02 MDT