Re: [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 10:47:37 -0300

-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:44:40 MDT

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