Intercept http response and alter it with PHP

there is a way to intercept an HTML DOM using an apache module and alter it with PHP?

The purpose is apply a set of PHP rules on all websites hosted on server (for example, replacing some strings).

Thanks in advanced

Source: apache

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.