Re: [squid-users] Block Inbox.com

From: Peter Albrecht <[email protected]>
Date: Tue, 9 Jan 2007 09:37:04 +0100

Hi Chirag,

On Tuesday 09 January 2007 08:59, Chirag 17 wrote:
> Hi All,
> I am running Squid 2.5 on WinXp and following is
> extract from my squid.conf file..
>
> squid.conf file contains:
> ----------------------------------------------------
> acl blocklist url_regex "c:/squid/etc/blocked1.txt"
> http_access deny blocklist
> http_access deny ncsa_users blocklist
> ----------------------------------------------------
>
> where blocked1.txt has say the following text:
> -----------------------------
> sex
> job
> monster
> resume
> CV
> interview
> career
> mail2web
> Inbox.com
> FastMail
> ------------------------------
>
> Now my problem even though I mention "inbox.com" or
> even "inbox" in blocked text file...squid still allows
> users to connect to inbox.com..while it blocks all
> other webpages having any of the above text..

Do you really have "Inbox.com" (uppercase) in your list? Regular expressions
are case-sensitive. If you want to be case-insensitive, use -i:

acl blocklist url_regex -i "c:/squid/etc/blocked1.txt"

Regards,

Peter

-- 
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com
Received on Tue Jan 09 2007 - 01:37:44 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST