Re: [squid-users] ACL armageddon

From: Matthew Seddon <MSeddon@dont-contact.us>
Date: Tue, 22 May 2001 16:23:59 +0200

Try setting 2 acls:

---CUT---

acl forbid-chat url_regex -i chat
acl allow-chat url_regex -i chatham

http_access deny forbid-chat !allow-chat

---END---

This should work nicely.

-Matt

>>> Marc van Selm <marc.van.selm@nc3a.nato.int> 22/05/2001 01:50:24 >>>
At 01:21 PM 5/22/01 +1000, Peter Wood wrote:
>Hi all,
>
>We are wanting to block sites with the word 'chat' in the url (this works
>fine) but it also blocks the word 'chatham'. My knowledge of regular
>expressions is pretty poor. Is there a way of blocking 'chat' but
>allowing, say, 'www.chatham.edu'?
>
>Any help would be appreciated.

Make a permit list that overrides in these special cases.

Marc

>Regards,
>
>Peter

---------------------------------------------------------
Marc van Selm
NATO C3 Agency, CSD/A

*********************************************************
** All statements in this mail are made from my own **
** personal perspective and do not necessarily reflect **
** my employer opinions or policies. **
*********************************************************
Received on Tue May 22 2001 - 08:26:21 MDT

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