RE: [squid-users] Combining ACLs

From: Adam Aube <aaube@dont-contact.us>
Date: Mon, 20 Oct 2003 11:30:03 -0400

> I need to block access to a site but only on some machines
> and only for certain times of day. Otherwise the site should
> be accessible.
 
> acl blocked_machines src 10.18.64.0/255.255.255.0
> acl bad_site dstdomain badsite.com
> acl bad_time time 09:00-17:00
> http_access deny bad_site bad_time blocked_machines

That is the correct way to do what you are trying to do.

Adam
Received on Mon Oct 20 2003 - 09:30:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:33 MST