mod_line_edit

mod_line_edit is a general-purpose fast text filter Apache module.
Download

mod_line_edit Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • WebThing Ltd.
  • Publisher web site:
  • http://apache.webthing.com/mod_line_edit/

mod_line_edit Tags


mod_line_edit Description

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 Webing'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). For non-markup document types such as plain text, and non-markup Web documents such as Javascript or Stylesheets, it is the best available option in the absence of a filter that parses any relevant document structures.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.Usage:LoadModule line_edit_module modules/mod_line_edit.soThe 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/FilterChain texteditor, for backward compatibility with Apache 2.0:AddOutputFilter line-editor .txt .css .jsorSetOutputFilter line-editorSetEnv LineEdit "text/plain;text/css;text/javascript"Text Editing:The LERewriteRule directive defines search-and-replace rules. Both simple text and regular expression search and replace are supported. Requirements: · Apache 2.x


mod_line_edit Related Software