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

From: Soccal Andrea <[email protected]>
Date: Fri, 19 Sep 2003 15:47:58 +0200

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
asoccal@sistemaufficiospa.com

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

    Sincerily,
    Leonardo Rodrigues

----- 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 - 07:48:06 MDT

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