Re: [squid-users] Redirect some URL traffic to another proxy?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 10 Feb 2003 22:21:09 +0100

Either combine the acls into one larger acl listing the URL patterns
which you want to redirect to the peer, or split you access lines using
one acl per line... (A request cannot start with www and ppp at the same
time, and is why your current access lines fails)

Regards
Henrik

Mån 2003-02-10 klockan 14.37 skrev Roos Leif:
> Hi ,
> I wan't to redirect traffic to another proxy when I try to reach some
> specific URL that starts with www or ppp. Can any one help me with this.
> I have try to configure the squid proxy with following but it doesn't
> work so good.
>
> cache_peer 192.168.1.1 parent 8080 0 no-query default
> acl www url_regex ^http://www.*
> acl ppp url_regex ^http://ppp.*
> cache_peer_access 192.168.1.1 allow www ppp
> never_direct allow www ppp
>
> Best regards
> Leif Roos

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Mon Feb 10 2003 - 14:21:14 MST

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