Sorry but I am a begginer, I never ever heard about this dstdomain.
How about this "# sed 's/^/\^/' txtgeneral.txt" ? I should use it instead
"http_access allow txtlan general !download" ?
----- Original Message -----
From: "Andreas Pettersson" <andpet@telia.com>
To: "Christian Ricardo dos Santos" <Christian@telefutura.com.br>
Cc: "squid-users" <squid-users@squid-cache.org>
Sent: Thursday, September 30, 2004 5:24 PM
Subject: Re: [squid-users] Blocking mixed URLs
> Thanks your for the help...
>
> But this way I need to create one rule for each website permitted to each
> group of users instead of a single rule by group.
>
> Nowadays we are using rules like the one bellow (two text files where one
> list the IP address and the other the websites). Right now we have 36
groups
> using squid (+- 3000 users).
>
> acl general url_regex -i "/etc/squid/data/txtgeneral.txt"
> http_access allow txtlan general !download
I was just giving you an example of how you should write the regex.
Ok, the dots wouldn't be that necessary to escape with backslash. Just add ^
att the beginning of each row in txtgeneral.txt and that should do it.
# sed 's/^/\^/' txtgeneral.txt
Or again even better, use dstdomain.
/Andreas
Received on Thu Sep 30 2004 - 14:41:05 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT