Is it possible to use any of the following HTTP servers: Apache, Nginx or Lighttpd as a proxy to make the following:
- Disallow certain HTTP bodies (web pages) based on their content (e. g., words)
- Substitute certain content with another (e. g., by regular expression)
Not only core functionality but also modules may be used. Also, I may consider writing my own module, so the question would be then if it's easy to write such a module for any of these servers.
I know that Squid + DansGuardian/SquidGard allow this but I am interested in mentioned software.