Re: Access Control

From: Henrik Nordstrom <[email protected]>
Date: Thu, 20 May 1999 18:58:36 +0200

Sunil Sarat wrote:

> I want to know is whether there is any way out to restrict the timings of access to my
> cache for a particular subnet.
>
> for example: 192.168.0.10 to 192.168.0.100 2pm to 4pm
> 192.168.0.100 to 192.168.0.200 4pm to 6pm

Yes, of course.

acl 2_to_4 time 14:00-16:00
acl time 16:00-18:00
acl net1 src 192.168.0.10-192.168.0.100/32
acl net2 src 192.168.0.100-192.168.0.20/32
http_access allow net1 2_to_4
http_access allow net2 4_to_6

--
Henrik Nordstrom
Spare time Squid hacker
Received on Thu May 20 1999 - 13:16:18 MDT

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