Re: [squid-users] redirect_rewrites_host_header

From: Jack <[email protected]>
Date: Sat, 15 Mar 2003 00:21:51 +0530

Hello Henrik,

Thanks, if i do redirect_rewrites_host_header as on then i am getting the
first page and when i click the link it tries to communicate directly to
origin server.

I am using perl redirector script.

Regards
Jack

> 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

__________________________________________________
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 - 11:31:22 MST

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