Hi, mod_sed is a sed[1] based Apache filtering module, with the sed code based on opensolaris sed. sed scripting offers a more familiar interface to build powerful filters. This mod_sed is designed to work with Apache HTTP server version 2.2 and above.
The functionality is similar to sed based NSAPI IO filter available in Sun Web Server 7.0 [2][3]. This code is being shared under Apache 2.0 license. Functional specification for the mod_sed is given in mod_sed_filter.html [4]. README [5] file contains the instructions how to compile/use mod_sed. Design of this filter is in the way that regexp.c, regexp.h, sed0.c sed1.c, libsed.h can be made part of the apr. While the filter code mod_sed.c will be a filter module which can reside under modules directory. This way other modules can also take advantage of sed libraries. Source code is obtained by : hg clone ssh://[EMAIL PROTECTED]/hg/webstack/mod_sed Source code is also availabe by http here : http://src.opensolaris.org/source/xref/webstack/mod_sed/ Please have a look into the code and provide your comments. Regards, Basant. Note : hg (mercurial) can be found at [6]. [1] http://docs.sun.com/app/docs/doc/816-5165/sed-1b?a=view [2] http://docs.sun.com/app/docs/doc/819-2630/6n4thbj5e?a=view [3] http://docs.sun.com/app/docs/doc/820-1062/6ncoqnq52?a=view#gbzoo [4] http://src.opensolaris.org/source/raw/webstack/mod_sed/mod_sed_filter.html [5] http://src.opensolaris.org/source/xref/webstack/mod_sed/README [6] http://www.selenic.com/mercurial/wiki/index.cgi/UnixInstall