DansGuardian: content regexp list for exact sites, how?

Posted by Sergey on Server Fault See other posts from Server Fault or by Sergey
Published on 2012-06-10T06:42:18Z Indexed on 2012/06/10 10:41 UTC
Read the original article Hit count: 246

Filed under:
|

We have contentregexplist file where we can write all substitutions like "source regex"->"dest string"

And they ALL run for each page. Is it possible somehow to define a domain name(s) for which (only for 1 domain! not every page) some regexps should be looked for?

To be clear:
How to replace "Google"->"garbage" in page source only for host host.example.org?

May be other content filtering system can do this? Then which one?

© Server Fault or respective owner

Related posts about contentfilter

Related posts about dansguardian