Re: [squid-users] can I select a cache parent based on an ip address?

From: Brett Lymn <[email protected]>
Date: Wed, 17 Apr 2002 17:54:25 +0930

On Tue, Apr 16, 2002 at 03:26:58PM +0200, Henrik Nordstrom wrote:
> Brett Lymn wrote:
>
> > cache_peer_access foo.bar allow dst_class_b
> > <lots of other http_access stuff follows>
> >
> > When I do this it seems like any requests for an IP address on the
> > class-b are still going to the default parent (catch.all) - I have
> > tried adding a cache_peer_access deny just after the allow to deny any
> > other destination but that has made no difference.
>
> You need to deny the requests from the other peer...
>

OK - so I put:

cache_peer_access foo.bar allow dst_class_b
cache_peer_access other.bar deny dst_class_b
cache_peer_access yam.bar deny dst_class_b

but now I get a TCP_MISS/503 log message in the log file... squid is
not trying to forward the request to the parent at all?

-- 
Brett Lymn
Received on Wed Apr 17 2002 - 02:24:59 MDT

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