Re: [squid-users] redirect_rewrites_host_header

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 14 Mar 2003 08:55:58 +0100

If you use a redirector to rewrite the URL then Squid normally (on) ask
the origin server to return the rewritten URL.

If set to "off" then Squid will ask the origin server to return the URL
with the domain name of the original request before the redirector.
However, caching is done on the url after rewrites so great care must be
taken to make sure each domain have their unique value after the
redirector.

In most cases when making a reverse proxy were you need to set this
directive to "off" then you probably should not be using a redirector at
all but instead register the accelerated domains into /etc/hosts of the
Squid server.

Note: Squid-3 will be considerably easier to configure in accelerator
mode than Squid-3, eleminating the need of both redirectors and
/etc/hosts in 99.9% of the cases.

Regards
Henrik

Jack wrote:
>
> Hello All,
>
> What is the exact functionality of "redirect_rewrites_host_header"
>
> When i am running squid as reverse proxy if i keep this tag as " on" some
> urls works without problem and some gets problem.
>
> If is set it as "off" everything works fine
>
> Adv thanks and Regards,
> Jack
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
Received on Fri Mar 14 2003 - 01:07:29 MST

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