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" <[EMAIL PROTECTED]>
To: "'Leonardo Rodrigues Magalh�es'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
Inviato: venerd� 19 settembre 2003 15.48
A: Soccal Andrea; [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>

Reply via email to