sorry for the dup post - the forum was throwing crazy errors about not
authorized to do the action.
On 1/29/07, colin@xxxxxxxxxx <colin@xxxxxxxxxx> wrote:
The patch below adds SetEnvIf environment variable support that can be used to disable mod_xslt. Effectively, this can be used to mimics the functionality of XSLTAddRule but can also be used for dynamically assigned xslt. With this patch you can AddOutputFilter and then disable it based on any criteria necessary. This allows for more customized control over the execution of the mod_xslt module.
This will enable the OutputFilter for all .php files (incl welcome pages) but disable it for the rss.php. While this is a primitive example, my scenario required adjustment based on Headers and parameters which is much more complicated for <Location> matches.
Also this patch also moves the removal of the Content-Length to after the quick exit block. This is important so that pipelining is preserved even if the mod_xslt is dynamically removed from the chain.