Search squid archive

Re: Block Inbox.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux