Add
httpd_accel_uses_host_header on
to your squid.conf.
This has the effect that all incoming requests are rewritten with the
Host: header appended. See icp.c.
--- Henrik Nordström Graham Toal wrote: > I understand how to rewrite a URL; that's not the problem. The problem > is that is I have a server with one IP address, and a CNAME that points to > that IP address, a request for /index.html on the main name and a > request for /index.html on the alternative name both appear identical > in the information passed to the redirector program. However, they are > not identical, because the browser includes the original host name in > a new "Host:" header which is passed in with the GET request (at least > 95% of the time, according to jrg :-) )Received on Wed May 07 1997 - 17:44:41 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:08 MST