Re: [squid-users] redirect_rewrites_host_header & accelerator

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 04 Dec 2001 11:36:09 +0100

Be warned that the cache only looks at the URL. If your rewrite multiple
URL's to the same "backend domain" then there will be cache collisions.

sean.upton@uniontrib.com wrote:
>
> I am running an accelerator for virtual hosts, and use a redirector that
> takes a URL like:
>
> http://myvhost.foo.com/bar and rewrites it to:
> http://nodes.foo.com/bar where nodes.foo.com are my backend web server farm
> nodes.
>
> redirect_rewrites_host header is off, and I would expect that the value from
> the redirector in this case would be 2 things:
> 1 - The path is rewritten if needed, according to the rules, and
> 2 - the server name is rewritten if needed, but the host header should be
> left intact by Squid when using this rewritten URL, meaning that the server
> name returned by the redirector is used ONLY for IP address lookup of where
> to send requests; the actual host header is untouched.
>
> But, in my config, #2 does NOT seem to be the case, and the host header is
> the value that is returned by the redirector... Is this right?
>
> I'm using Squid 2.4STABLE1... Any thoughts?
>
> Sean
>
> =========================
> Sean Upton
> Senior Programmer/Analyst
> SignOnSanDiego.com
> The San Diego Union-Tribune
> 619.718.5241
> sean.upton@uniontrib.com
> =========================
Received on Tue Dec 04 2001 - 03:42:43 MST

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