Re: cascading squid 4 using a special cache 4 special domain ?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 01 Apr 2000 11:52:14 +0200

Michael Hellmann wrote:

> Now i have to configure the cache in that way, that 4 a special
> subdomain
> in my-intranet.de another cache is used. Perhaps like that:
>
> cache_peer 194.133.200.1 parent 80 7 no-query default
> cache_peer 194.133.154.1 parent 9999 0 no-query
>
> cache_peer_domain 194.133.154.1 subdomain.my-intranet.de
> cache_peer_domain 194.133.200.1 !subdomain.my-intranet.de

Try

cache_peer 194.133.200.1 parent 80 7 no-query default
cache_peer 194.133.154.1 parent 9999 0 no-query
acl intranet dstdomain .my-intranet.de
acl subdomain dstdomain .subdomain.my-intranet.de
never_direct allow all
always_direct allow intranet !subdomain
cache_peer_access 194.133.200.1 deny intranet
cache_peer_access 194.133.154.1 allow subdomain

--
Henrik Nordstrom
Squid hacker
Received on Sat Apr 01 2000 - 03:00:29 MST

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