Re: [squid-users] url rewrite

From: John Doe <jdmls_at_yahoo.com>
Date: Thu, 5 Aug 2010 02:59:29 -0700 (PDT)

From: senthilkumaar2021 <senthilkumaar2021_at_gmail.com>

> Is there any possibility to pass urlpath rewritten urls to particular
>cache_peer in reverse proxy
> The urlpath rewritten is done using perl script .only path in url is re
>written
> Three identical web servers are running at different ip and the url path is
>rewritten for some requests only .
> only the rewritten requests has to be passed to particular web server.
> client(example.com/squid)------>reverse proxy--------->webserver1 or
>webserver2(example.com/squid)
> (no rewrite needed)
> client (example.com/squirm)___>revere
>proxy--------->webserevr3(example.com/squid)
> (squirm url path is rewritten as
>squid)

With an external_acl and cache_peer_access maybe?
If url ends with squirm, block... and then use this acl to block the first two
peers.
if not blocked, block the third peer...
Would this work?

JD

      
Received on Thu Aug 05 2010 - 09:59:35 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 05 2010 - 12:00:01 MDT