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

From: Hennie Rautenbach <hennie@dont-contact.us>
Date: Fri, 06 Apr 2001 17:11:19 +0200

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 - 09:12:28 MDT

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