Re: [squid-users] Problem Overwriting Host in HTTP Header

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Mon, 26 May 2008 20:01:54 +0200

On mån, 2008-05-26 at 18:19 +0200, Marc Eckart wrote:

> we have a squid proxy at the end of an ipsec-tunnel. This proxy
> forwards our http-messages. We now have the problem that squid
> overwrites the host value in the http-header. This is bad, because our
> apache can not deal with ip-addresses. Squid replaces the host value
> with the ip address of the server it routes towards.

Sounds like a very badly configured Squid. How is http_port configured?

> Is there an option, to tell squid, that it just leaves the host value as is?

If it's a reverse proxy setup then see the vhost option to http_port.

Regards
Henrik

Received on Mon May 26 2008 - 18:01:59 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT