Re: [squid-users] newbie acl question

From: ashish dhital <ashish.dhital@dont-contact.us>
Date: Tue, 20 Nov 2001 10:00:20 +0545 (NPT)

Thanks for the suggestion...

-----------------
   Ashish Dhital
Infocom Online Pvt. Ltd.
   

On Tue, 20 Nov 2001, Colin Campbell wrote:

> 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 - 21:02:07 MST

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