httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henry Combrinck <>
Subject [users@httpd] mod_sed for input/output filter on same site
Date Mon, 20 Jun 2016 18:12:06 GMT

I'm trying to use mod_sed with both input and output filters at the same
time.  I can only get the output filter on it's own to work:

<Location "/var/www">
    AddOutputFilter Sed html css js pl cgi text
    OutputSed "s/123/abc/g"
    OutputSed "s/stuff/ffuts/g"

I'd like to use an output filter too on the same site:

<Location "/var/www">
    AddInputFilter Sed html css js pl cgi text
    InputSed "s/abc/123/g"
    InputSed "s/ffuts/stuff/g"

...but only the output filter is being used.

I'd appreciate any pointers in getting this to work.


View raw message