Re: file extension ACLs and choosing parents

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 23 Jun 2000 03:18:55 +0200

Steve Loughran wrote:

> If I set up a list of file extensions into an ACL, is there any way of
> configuring Squid to use one specific parent for any entry that matches this
> ACL, but use the normal configured weighted parents for everything else?

Yes, by using the cache_peer_access.

acl file-ext urlpath -i \.exe$ \.zip$ \.tar$

cache_peer_access virusguard1 allow file-ext
cache_peer_access virusguard2 allow file-ext
cache_peer_access parent1 deny file-ext
cache_peer_access parent2 deny file-ext
...

--
Henrik Nordstrom
Squid hacker
Received on Fri Jun 23 2000 - 00:03:00 MDT

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