On Wednesday 12 December 2001 19.02, Boniforti Flavio wrote:
> Then, now I want to allow ALL to surf from 8:00 to 20:00, but I need a
> custom error message for this ACL, therefore I need to DENY access from
> 20:00 to 8:00!!! But, as written in the User Guide, t1 has to be smaller
> than t2! Do I have to write it like:
>
> acl time1 time 20:00-0:00
> acl time2 time 0:00-8:00
> http_access deny all time1 time2
You can also use inversion
acl workinghours 8:00-20:00
http_access deny all !workinghours
> And then, a little more confusing (for me at least!): I need to allow a
> restricted group of IPs (which I've written in a separate text file) to
> surf ALL THE TIME!!!
Then allow such access before denying the others.
-- MARA Systems AB Giving you basic free Squid support Priority support or Squid enhancements available on requestReceived on Wed Dec 12 2001 - 13:02:45 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:19 MST