apache-mod_sed - Filter Input (request) and Output (response) content using sed syntax

Distribution: OpenMandriva Lx 2014.2
Repository: OpenMandriva Main x86_64
Package name: apache-mod_sed
Package version: 2.4.9
Package release: 1-omv2014.0
Package architecture: x86_64
Package type: rpm
Installed size: 38.72 KB
Download size: 23.78 KB
Official Mirror: abf-downloads.openmandriva.org
mod_sed is an in-process content filter. The mod_sed filter implements the sed editing commands implemented by the Solaris 10 sed program as described in the manual page. However, unlike sed, mod_sed doesn't take data from standard input. Instead, the filter acts on the entity data sent between client and server. mod_sed can be used as an input or output filter. mod_sed is a content filter, which means that it cannot be used to modify client or server http headers. The mod_sed output filter accepts a chunk of data, executes the sed scripts on the data, and generates the output which is passed to the next filter in the chain. The mod_sed input filter reads the data from the next filter in the chain, executes the sed scripts, and returns the generated data to the caller filter in the filter chain. Both the input and output filters only process the data if newline characters are seen in the content. At the end of the data, the rest of the data is treated as the last line. A tutorial article on mod_sed, and why it is more powerful than simple string or regular expression search and replace, is available on the author's blog.



  • apache-mod_sed == 2.4.9-1:2014.0
  • config(apache-mod_sed) == 0:2.4.9-1:2014.0
  • mod_sed.so()(64bit)


    Install Howto

    1. Enable OpenMandriva Main repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install apache-mod_sed rpm package:
      # urpmi apache-mod_sed


    • /etc/httpd/modules.d/043_mod_sed.conf
    • /usr/lib64/apache/mod_sed.so


    2014-03-19 - Bernhard Rosenkraenzer <bero@lindev.ch> 2.4.9-1 + Revision: 98e8417 - 2.4.9

    2013-12-07 - Bernhard Rosenkraenzer <bero@bero.eu> 2.4.7-5 + Revision: cc2997b - MassBuild#289: Increase release tag

    2013-12-07 - Bernhard Rosenkraenzer <bero@bero.eu> 2.4.7-4 + Revision: 293ac23 - MassBuild#289: Increase release tag

    2013-12-07 - Bernhard Rosenkraenzer <bero@bero.eu> 2.4.7-3 + Revision: 915f07e - MassBuild#289: Increase release tag

    2013-12-07 - Bernhard Rosenkraenzer <bero@bero.eu> 2.4.7-2 + Revision: b42b06f - MassBuild#289: Increase release tag

    2013-11-24 - Bernhard Rosenkr?nzer <bero@lindev.ch> 2.4.7-1 + Revision: 4bc8b3c - 2.4.7

    2013-09-16 - Crispin Boylan <crisb@mandriva.org> 2.4.6-2 + Revision: 795073b - Fix requires for mod_ssl (bug #120)

    2013-07-20 - Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> 2.4.6-1 + Revision: c911541 - 2.4.6 (includes fixes for security bugs)

    2013-04-11 - Denis Silakov <denis.silakov@rosalab.ru> 2.4.3-2 + Revision: 9e717f7 - Fix sasl reqs

    2012-12-26 - Bernhard Rosenkr?nzer <bero@lindev.ch> 2.4.3-1 + Revision: 0e7b3a3 - Update to 2.4.3, /var/www -> /srv/www