Search squid archive

Re: Squid and HTTP Host value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux