Re: acl time type

From: Craig Reynolds <Craig.Reynolds@dont-contact.us>
Date: Thu, 7 Oct 1999 10:30:30 +1300 (NZDT)

On Wed, 6 Oct 1999, Panagiotis Malakoudis wrote:

> I try to setup acl based on day-of-the-week and time-of-the-day basis like
> the following.
>
> # Days of the week restrictions
> acl monday time M 08:00-16:00
> acl tuesday time T 08:00-16:00
> acl wednesday time W 08:00-16:00
> acl thursday time H 08:00-16:00
> acl friday time F 08:00-16:00
> acl saturday time A 08:00-16:00
> acl sunday time S 08:00-16:00
>
> # Archive restrictions
> acl archives urlpath_regex \.zip$ \.viv.* \.exe$ \.mp3$ \.rar$ \.ace$ \.asf$
> \.avi$ \.mov$ \.mpg$
> \.mpeg$ \.flc$ \.au$ \.ra$ \.arj$ \.mid$
>
> http_access deny archives monday tuesday wednesday thursday friday #
> not saturday and sunday

This works.

acl restricted_weekdays time MTWHF 08:00-16:00

and then

http_access deny archives restricted_weekdays

Cheers, Craig

-- 
Craig Reynolds                  Phone: +64-4-4635821
System Administrator (Internet) Fax    +64-4-4625552
Information Technology Services Mobile:  025-2222423
Victoria University
Wellington                      Email:  Craig.Reynolds@vuw.ac.nz
New Zealand 	      
----------------------------------------------------------------
Public PGP Key:		     http://www.vuw.ac.nz/~craig/key.txt
----------------------------------------------------------------
Received on Wed Oct 06 1999 - 15:41:51 MDT

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