Re: [squid-users] Lock Out times

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 13 Oct 2009 01:16:50 +0200

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
Received on Mon Oct 12 2009 - 23:16:57 MDT

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