Re: [squid-users] newbie acl question

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Tue, 20 Nov 2001 08:41:05 +1000 (EST)

Hi,

On Mon, 19 Nov 2001, ashish dhital wrote:

>
> You can set acl as:
>
> acl specific_time src 192.168.0.1-192.168.0.10
> acl worktime time SMTWHF 9:00-11:00
> http_access allow src !worktime

methinks you meant:

http-access allow specific_time !worktime

although I don't perticularly agree with you choice of name
"specific_time". It is unrelated to time. You should try and make your
acls "self documenting", eg

acl localnet src 192.168.0.1-192.168.0.10
acl worktime time SMTWHF 9:00-11:00
http_access allow localnet !worktime

Doing so makes what's supposed to be happeneing a little more obvious.

Colin

--
Colin Campbell
Unix Support/Postmaster/Hostmaster
CITEC
+61 7 3006 4710
Received on Mon Nov 19 2001 - 18:37:13 MST

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