acl with dates and time question

From: Emile Coetzee <EmileC@dont-contact.us>
Date: Fri, 2 Jul 1999 16:37:50 +0200

Below is my current setup. What I'd like to do is give access from 17:00 to
08:00. And all hours for weekends.

My first question is if there is no way around the h1:m1 must be smaller
that h2:m2 i.e. I can't have 17:00-08:00. Do I have to set up another acl?

Question 2: If I leave the time blank will that allow access for all times
of the day? or do I have to add 00:00-23:59 for weekends (S A)

Version: squid 1.1.2

in squid.conf:

acl managers src "/usr/local/squid/etc/managers"
acl tetrausers src "/usr/local/squid/etc/users"
acl tetrasites dst "/usr/local/squid/etc/sites"
acl afterhours time M T W H F 17:00-23:59
acl weekends time S A

http_access allow managers
http_access allow afterhours users
http_access allow weekends users
http_access allow sites users

Thanks
Emile
Received on Fri Jul 02 1999 - 08:30:24 MDT

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