mod_sed for input/output filter on same site

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greets,

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

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

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

Thanks
Henry

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux