logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



mod_sed use with both in/out filtering

 
Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules



View previous topic :: View next topic  
Author Message
henzen



Joined: 23 Jun 2016
Posts: 1
Location: South Africa

PostPosted: Thu 23 Jun '16 13:39    Post subject: mod_sed use with both in/out filtering Reply with quote

Greets,

using Apache 2.4 on Linux.

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"
</Location>

I'd like to use an input 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"
</Location>

...but only the output filter is being used. In fact, if I switch on AddInputFilter while the AddOutputFilter is active, then neither work.

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

Thanks
Henry
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules
Page 1 of 1