Re: [squid-users] ACL time restriction question...

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 07 Apr 2001 00:49:22 +0200

Glad I could help.

Feel free to ask again (on squid-users) if you need further help.

--
Henrik Nordstrom
Squid hacker
Hennie Rautenbach wrote:
> 
> Hi there,
> 
> Henrik Nordstrom wrote:
> 
> > See acl time, acl src and http_access in squid.conf.
> 
> Have done just that and came up with:
> 
> acl FOO src 192.96.193.28
> acl WORKING time MTWHF 08:00-16:30
> acl JOKE url_regex "/disk1/squid-cache/etc/joke.txt"
> http_access deny FOO WORKING JOKE
> http_access allow FOO
> 
> Which through brief testing appear to work just fine. Advice
> appreciated. "/disk1/squid-cache/etc/joke.txt" contains the URL's that
> I'd like to prevent access to during office hours.
> 
> Cheers.
> 
> Hennie
Received on Fri Apr 06 2001 - 17:28:44 MDT

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