Re: [squid-users] Rewrite url and reverse proxy

From: John Doe <jdmls_at_yahoo.com>
Date: Tue, 3 Aug 2010 02:15:21 -0700 (PDT)

From: senthilkumaar2021 <senthilkumaar2021_at_gmail.com>

> I have three web servers running at three different ip's (content in that are
>same) the server name is squid.example.com and squid is running as reverse
>proxy.
> Three web server ip's are 172.16.1.48,172.16.1.49.172.16.1.50.
> I used perl script as url_rewrite program which replaces the string "other" in
>the url as "squid"
> ie if url request is other.example.com it is rewrite as squid.example.com
> The url request which are rewrite by url_rewrite program has to be made only
>it reaches the 172.16.1.48 web server.
> The url requests that are not needed url rewrite are to be passed to
>172.16.1.49 web server or 172.16.1.50 web server.
> Eg: the url request is squid.example.com which does not need url rewrite

Maybe use acls with cache_peer_access instead of rewrites...?

JD

      
Received on Tue Aug 03 2010 - 09:15:31 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 03 2010 - 12:00:02 MDT