RE: [squid-users] ACL for one single IP

From: Neil A. Hillard <hillardn@dont-contact.us>
Date: Tue, 29 Jul 2003 13:46:35 +0100 (BST)

Hi,

> > acl user_url url_regex www\.cnn\.com www\.linux\.org
> > acl user_src src 192.168.0.125
> > ...
>
> If he wants to block by domain, then the dstdomain acl might
> be a better choice, as dstdomain probably doesn't require as
> many resources as url_regex.
>
> acl user_dom dstdomain www.cnn.com www.linux.org
Or even simpler:

acl user_dst dst www.cnn.com www.linux.org

                                Neil.

-- 
Neil Hillard                    hillardn@whl.co.uk
Westland Helicopters Ltd.       http://www.whl.co.uk/
Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters Ltd.
Received on Tue Jul 29 2003 - 06:58:12 MDT

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