[squid-users] q about redirect_rewrites_host_header

From: <peter@dont-contact.us>
Date: Wed, 20 Jun 2001 15:04:04 -0400 (EDT)

hello! i'm trying to use squid as a completely dumb,
completely transparent, non-caching proxy.
(ie- as a buffer for some beefy webserver procs.)

my configuration is the following:
 http_port 80
 httpd_accel_single_host on
 httpd_accel_host 127.0.0.1
 httpd_accel_port 880
 httpd_accel_with_proxy off
 httpd_accel_uses_host_header on
 redirect_rewrites_host_header off
 no_cache deny all
 http_access allow all

everything works as i want, except that
squid still appends the port "880" to the Host header,
even though i have "redirect_rewrites_host_header off".
is there any way to have it not append the port?

(Also i noticed that if i made my browser request have
":80" at the end, squid removes the port from the Host
header.)

i know i can get around this by binding the underlying
webserver to port 80 on a separate ip, but don't
particularly want to do this.

thanks in advance!
peter
Received on Wed Jun 20 2001 - 13:09:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:48 MST