[squid-users] squid is modifying Host header

From: Sean SPALDING <s.spalding_at_ecu.edu.au>
Date: Tue, 21 Jun 2011 13:20:26 +0800

Hi all,

I'm running squid/2.6.STABLE21 behind an SSL offload appliance on port 8443 as an application accelerator.

squid.conf:
http_port 10.67.124.57:80 accel vhost protocol=http
http_port 10.67.124.57:8443 accel vhost protocol=http
cache_peer 127.0.0.1 Parent 80 0 no-query no-digest default login=PASS originserver

It's rewriting the Host header of requests and adding the port number to the URL, eg. Host: myvhostname.com:8443. This is breaking the app behind it.

Note, url_rewrite_host_header is set to off.

Any ideas what's causing this behaviour? It's only happening in our QA env and is working fine in PROD with an identical squid version and config.

Regards,

Sean.

This e-mail is confidential. If you are not the intended recipient you must not disclose or use the information contained within. If you have received it in error please return it to the sender via reply e-mail and delete any record of it from your system. The information contained within is not the opinion of Edith Cowan University in general and the University accepts no liability for the accuracy of the information provided.

CRICOS IPC 00279B
Received on Tue Jun 21 2011 - 05:20:43 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 21 2011 - 12:00:02 MDT