Re: [squid-users] R: [squid-users] Block site with a specific word in the entire url

From: Leonardo Rodrigues Magalhães <leolistas@dont-contact.us>
Date: Fri, 19 Sep 2003 11:04:22 -0300

    If you define 'acl rule1 url_regex -i sex', this rule will deny
EVERYTHING that contains the expression 'sex', NO MATTER in what case (sEx,
seX, SEx, etc etc ), in the WHOLE url (www.sex.com/this,
www.something.com/sex, www.microsoft.com/msexcel, etc etc )

    Note the msexcel ?? mSEXcel .... would be blocked too !!!

    If you got only 'ex' in the url and it's not 'sex', this rule will NOT
block it.

    Sincerily,
    Leonardo Rodrigues

----- Original Message -----
From: "Soccal Andrea" <ASoccal@sistemaufficiospa.com>
To: "'Leonardo Rodrigues Magalhães'" <leolistas@solutti.com.br>;
<squid-users@squid-cache.org>
Sent: Friday, September 19, 2003 10:47 AM
Subject: [squid-users] R: [squid-users] Block site with a specific word in
the entire url

Ok
But if i have a word (ex) similar at the word (sex)
With
Acl rule1 url_regex -i sex
Http_access denied rule1

Block the access or no ?

-----Messaggio originale-----
Da: Leonardo Rodrigues Magalhães [mailto:leolistas@solutti.com.br]
Inviato: venerdì 19 settembre 2003 15.48
A: Soccal Andrea; squid-users@squid-cache.org
Oggetto: Re: [squid-users] Block site with a specific word in the entire url

-i means NO case sensitivite.

acl rule1 url_regex sex
http_access deny rule1

will deny http://www.something.com/sex
but will ALLOW http://www.something.com/sEx

because url_regex IS case sensitivite and you asked to blocked 'sex' and not
'sEx'

using
acl rule1 url_regex -i sex (now we got a case INsensitivite rule)
instead

will block all possible case combination of the word sex, like SEx, SEX,
SeX, etc ........

    Hint: Use -i :)

----- Original Message -----
From: "Soccal Andrea" <ASoccal@sistemaufficiospa.com>
To: <squid-users@squid-cache.org>
Sent: Friday, September 19, 2003 10:37 AM
Subject: [squid-users] Block site with a specific word in the entire url

> Hi squid boys !
> I want block the site with a SPECIFIC words in the url ...for example:
>
> Www.domain.com/XXXX
> www.domain.com/ok/XXXX
>
> The command it's
> Acl aclname url_regex ???
>
> With -i option ??what's the mean of -i option ??
>
> thanks
>
Received on Fri Sep 19 2003 - 08:01:23 MDT

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