Re: [squid-users] ACL Problem

From: Christoph Haas <email@dont-contact.us>
Date: Fri, 27 Jan 2006 13:47:40 +0100

On Friday 27 January 2006 12:07, asim hafeez wrote:
> i'm using Squid NT 2.5 stable 6.i configured the acl
>
> acl blocklist url_regex -i "c:\squid\etc\blocked1.txt"
> http_access deny blocklist
>
> in the blocked1.txt i just suppose to block yahoo.com i wrote
> yahoo,and yahoo.com. and www.yahoo.com but it don't block it in all
> the ways i've used

These are not really proper regular expressions.

> can anybody tell me how to block a site ???

See if you are better off with "dst" or "dstdomain" type ACLs.
Regular expressions can be useful but you should know how to write them
properly. (Just like some people still seem to believe that a regular
expression of "sex" will block all the porn sites. <sigh>)

Kindly
 Christoph

-- 
Never trust a system administrator who wears a tie and suit.
Received on Fri Jan 27 2006 - 05:47:46 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST