Re: [squid-users] Lock Out times

From: Ross Kovelman <rkovelman_at_gruskingroup.com>
Date: Tue, 13 Oct 2009 00:10:29 -0400

> From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
> Date: Tue, 13 Oct 2009 01:16:50 +0200
> To: Ross Kovelman <rkovelman_at_gruskingroup.com>
> Cc: "squid-users_at_squid-cache.org" <squid-users_at_squid-cache.org>
> Subject: Re: [squid-users] Lock Out times
>
> mån 2009-10-12 klockan 12:42 -0400 skrev Ross Kovelman:
>
>> I just did this which works but:
>>
>> acl workdays time MTWHF 8:30-12:00
>> acl free time MTWTF 12:00-13:30
>> acl workdays time MTWHF 13:30-18:00
>> #acl free time MTWTF 18:00-24:59
>> acl free time MTWTF 1:00-8:30
>>
>> Except I can not get 18:00 to basically 8:30 to be open times. Any ideas?
>> 1-8:30 works fine.
>
> That's
>
> 00:00-08:30 18:00-24:00
>
> Or alternatively you can use negative logics based on workdays and
> !workdays in http_access, skipping the "free" acl (replaced by
> !workdays).
>
> Depends on what you want to do with saturday & sunday I guess..
> currently not covered by your rules.
>
> Regards
> Henrik
>
Ok thanks! But what if I still want to block some sites during that
!workdays time?
Received on Tue Oct 13 2009 - 04:10:39 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 13 2009 - 12:00:05 MDT