Search squid archive

Re: Fwd: Url redirection to ip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



acl new urlpath_regex ^/login/new
acl test urlpath_regex ^/login/test

cache_peer_access server_a allow test
cache_peer_access server_b allow new

or alternatively

cache_peer_access server_a deny new
cache_peer_access server_b allow new

Regards
Henrik

On ons, 2008-07-16 at 14:58 -0400, jason bronson wrote:
> could you give me an example?
> 
> 
> On Tue, Jul 15, 2008 at 2:55 PM, Henrik Nordstrom
> <henrik@xxxxxxxxxxxxxxxxxxx> wrote:
> > On mån, 2008-07-14 at 16:31 -0400, jason bronson wrote:
> >> Is it possible to redirect based on a URL path in squid example
> >>
> >> I have
> >> 63.45.45.45/login/test
> >> 63.45.45.45/login/new
> >>
> >> 63.45.45.45/login/test  --> 10.108.111.34
> >> 63.45.45.45/login/new  --> 10.108.18.254
> >
> > Yes, by using url_regex acls in cache_peer_access.
> >
> > Regards
> > Henrik
> >
> >
> 
> 
> 


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux