> 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
