Re: [squid-users] always_direct

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 22 Jul 2008 22:08:25 +0200

On tis, 2008-07-22 at 02:46 -0700, John Doe wrote:

> Oops, indeed.
> But, as it ignores all peers, it also ignores my parent lines (apaches listening on a specific port).
> Maybe I could use something like this (squid1 example)?
>
> acl askdirect urlpath_regex -i \.flv$
> cache_peer_access squid2 deny askdirect
> cache_peer_access squid3 deny askdirect
> cache_peer_access squid4 deny askdirect

Looks fine.

You can also use hierarchy_stoplist to stop the request from querying
siblings.

> Or, would that work?
>
> acl askdirect urlpath_regex -i \.flv$
> cache_peer_access !apache deny askdirect

That's not supported. Need to be one cache_peer_access per peer as
above..

Regards
Henrik

Received on Tue Jul 22 2008 - 20:08:29 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 23 2008 - 12:00:05 MDT