mod_line_edit 0.9.2 reviewDownload
mod_line_edit is a general-purpose fast text filter Apache module
mod_line_edit is a general-purpose fast text filter Apache module. It operates as a simple on-the-fly line editor, applying search-and-replace rules defined in a configuration or .htaccess file.
Unlike most of Web?ing's filter modules, it is not markup-aware, so it is not an optimal choice for processing HTML or XML, though it may nevertheless be used with caution (and may be far better than semi-markup-aware options such as mod_layout).
mod_line_edit is written for performance and reliability, and should scale without problems as document size grows. mod_line_edit is fully compatible with Apache 2.0 and 2.2, and all operating systems and MPMs.
LoadModule line_edit_module modules/mod_line_edit.so
The module implements a single output filter named line-editor. Insert it in the filter chain using the standard filter directives, e.g. to rewrite all text documents:
FilterProvider textedit line-editor resp=Content-Type $text/
or, for backward compatibility with Apache 2.0:
AddOutputFilter line-editor .txt .css .js
The LERewriteRule directive defines search-and-replace rules. Both simple text and regular expression search and replace are supported.
mod_line_edit 0.9.2 keywords