Re: Direct URLs to specific caches

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 14 Dec 1999 23:48:51 +0100

Thomas Kuehne wrote:
>
> Hi
>
> I habe to parent caches A 'proxyA.somewhere.com' and B
> 'proxyB.somewhere_else.com'. I want to direct all request for the URL
> 'www.gothere.com' to parent cache A. All other request shall go to both
> A and B. I tried
>
> acl direct_to_proxyA dst www.gothere.com
> cache_peer_access proxyA.somewhere.com allow direct_to_proxyA

It is a bit counter-intuitive in that you must use false logic:

cache_peer_access proxyB.somewhere.com deny direct_to_proxyA

cache_peer_access can only restrict what peers Squid uses, not force it
thru a specific proxy.

--
Henrik Nordstrom
Squid hacker
Received on Tue Dec 14 1999 - 16:13:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:54 MST