Re: acl time type

From: Panagiotis Malakoudis <pmal@dont-contact.us>
Date: Thu, 7 Oct 1999 08:29:40 +0300

Thanx. This works just fine...
----- Original Message -----
From: Craig Reynolds <Craig.Reynolds@vuw.ac.nz>
To: Panagiotis Malakoudis <pmal@space.gr>
Cc: <squid-users@ircache.net>; <kzou@space.gr>
Sent: Thursday, October 07, 1999 12:30 AM
Subject: Re: acl time type

> 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 - 23:42:19 MDT

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