[squid-users] squid removes host header. why?

From: Andrew <bart3r@dont-contact.us>
Date: Sat, 28 Aug 2004 16:01:30 +0930

My firewall is also a squid cache.
I have a firewall NAT rule that says, all requests on port 80, change to
port 3128 (the squid cache):
iptables -t nat -A PREROUTING -i eth1 -p tcp --destination-port 80 -j
DNAT --to 10.2.1.1:3128

Requests are getting pushed to squid, but its not looking at the host
header!?!!?
e.g. requests to 'http://toolbar.google.com/download/' , I get the error
message from squid:
-----------------------------------------------
While trying to retrieve the URL: /download/
The following error was encountered:
Invalid URL
-----------------------------------------------

So, instead of looking at 'http://toolbar.google.com/download/', its trying
'/download/'.

Why would this be happening?!?!?
Received on Sat Aug 28 2004 - 00:31:29 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:03 MDT