Re: always_direct confusion

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 10 Jul 2000 21:43:26 +0200

Ian Chaloner wrote:

> Is the below the correct way of doing this?
>
> acl html urlpath_regex -i !\.gif$ !\.jpg$ !\.zip$ !\.class$ !\.jpeg$ !\.mid$
....
> always_direct allow html

No. Remove the exclamation marks from the ACL line, and instead use it
on the always_direct line.

acl binaries urlpath_regex -i \.gif$ \.zip$ ....
always_direct allow !binaries

or

acl html urlpath_regex -i /$ \.html$ \.htm$
always_direct allow html

--
Henrik Nordstrom
Squid hacker
Received on Mon Jul 10 2000 - 14:06:00 MDT

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