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 ?


Andrea Soccal
IT Sistema Ufficio
[EMAIL PROTECTED]


-----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   :)


    Sincerily,
    Leonardo Rodrigues


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