Time Restrictions

From: Hillel Bilman <hillel@dont-contact.us>
Date: Fri, 07 Jan 2000 00:03:23 +0200

Greetings

I have a client who doesn't want his staff to use the web during
office hours ie they can only use the web from 13h00 to 14h00 and
after 17h00 till 8h00 the next morning.

According to the squid.conf :
>acl aclname time [day-abbrevs] [h1:m1-h2:m2]
># day-abbrevs:
># S - Sunday
># M - Monday
># T - Tuesday
># W - Wednesday
># H - Thursday
># F - Friday
># A - Saturday
># h1:m1 must be less than h2:m2

Will this work :

acl disallowedtime1 time [M-F] [8:0 -13:0]
acl disallowedtime2 time [M-F] [13:0 -17:0]

http_access deny disallowedtime1 disallowedtime2

Any help appreciated
Received on Thu Jan 06 2000 - 22:19:39 MST

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