Re: Time Restrictions

From: Hasan Subasi <subasi@dont-contact.us>
Date: Fri, 14 Jan 2000 09:50:15 +0200 (TUR)

I think the second part is like that
acl disallowedtime1 time [M-F] [14:0 - 17:0]

                                  HASAN HUSEYIN SUBASI
                                   subasi@itu.edu.tr

On Fri, 7 Jan 2000, Hillel Bilman wrote:

> 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 Fri Jan 14 2000 - 04:19:42 MST

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