On 10 Nov 2010 17:40:00 +0100, "Helmut Hullen" <Hullen@xxxxxxxxxxx> wrote: > Hallo, TÃth, > > Du meintest am 10.11.10: <snip> >> It's possible, I just would like to know if this could be done within >> squid itself. Also a little bit of modification. >> I would like to look for "ABC" word only in the site name, not in >> it's content. Like deny access to www.this-is-my-abc.com but dont >> filter a site containg some paragraphs about ABC-s. > >> Could it be done? > > [please don't top post, please don't fullquote - thank you] Seconded. <snip> > # Schmuddelfilter > acl verboten url_regex "/etc/squid/schmuddel" > acl ausnahme url_regex "/etc/squid/whitelist" or for specifically the domain name "site name" ... dstdom_regex. <snip> > > As far as I know "squid" can't check the contents but only can check > URLs etc. Yes. Squid is designed not to check the content. The external filter API are for that sort of nasty complex stuff. Amos