From: Vincent Bray Date: Mon, 22 Oct 2007 16:52:16 +0000 (+0000) Subject: buildfluff X-Git-Tag: 2.3.0~1319 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e10f1eb6edd3ba396a5b5e0ca8f92b8432dafaee;p=apache buildfluff git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@587151 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/allmodules.xml b/docs/manual/mod/allmodules.xml index 4df3576b65..2bf8eefa02 100644 --- a/docs/manual/mod/allmodules.xml +++ b/docs/manual/mod/allmodules.xml @@ -71,6 +71,7 @@ mod_speling.xml mod_ssl.xml mod_status.xml + mod_substitute.xml mod_suexec.xml mod_unique_id.xml mod_userdir.xml diff --git a/docs/manual/mod/allmodules.xml.de b/docs/manual/mod/allmodules.xml.de index bae7ed9f55..787e05075a 100644 --- a/docs/manual/mod/allmodules.xml.de +++ b/docs/manual/mod/allmodules.xml.de @@ -71,6 +71,7 @@ mod_speling.xml mod_ssl.xml mod_status.xml + mod_substitute.xml mod_suexec.xml mod_unique_id.xml mod_userdir.xml diff --git a/docs/manual/mod/allmodules.xml.es b/docs/manual/mod/allmodules.xml.es index 4e27994739..adf09fb8a2 100644 --- a/docs/manual/mod/allmodules.xml.es +++ b/docs/manual/mod/allmodules.xml.es @@ -71,6 +71,7 @@ mod_speling.xml mod_ssl.xml mod_status.xml + mod_substitute.xml mod_suexec.xml mod_unique_id.xml mod_userdir.xml diff --git a/docs/manual/mod/allmodules.xml.ja b/docs/manual/mod/allmodules.xml.ja index ae550722e5..0782c2eb31 100644 --- a/docs/manual/mod/allmodules.xml.ja +++ b/docs/manual/mod/allmodules.xml.ja @@ -71,6 +71,7 @@ mod_speling.xml.ja mod_ssl.xml mod_status.xml.ja + mod_substitute.xml mod_suexec.xml.ja mod_unique_id.xml.ja mod_userdir.xml.ja diff --git a/docs/manual/mod/allmodules.xml.ko b/docs/manual/mod/allmodules.xml.ko index f0988e44d7..057508fac8 100644 --- a/docs/manual/mod/allmodules.xml.ko +++ b/docs/manual/mod/allmodules.xml.ko @@ -71,6 +71,7 @@ mod_speling.xml.ko mod_ssl.xml mod_status.xml.ko + mod_substitute.xml mod_suexec.xml.ko mod_unique_id.xml.ko mod_userdir.xml.ko diff --git a/docs/manual/mod/directives.html.en b/docs/manual/mod/directives.html.en index 07273eaae2..488de2de46 100644 --- a/docs/manual/mod/directives.html.en +++ b/docs/manual/mod/directives.html.en @@ -417,6 +417,7 @@
  • SSLVerifyDepth
  • StartServers
  • StartThreads
  • +
  • Substitute
  • SuexecUserGroup
  • ThreadLimit
  • ThreadsPerChild
  • diff --git a/docs/manual/mod/index.html.en b/docs/manual/mod/index.html.en index ffae458286..a2555bd00b 100644 --- a/docs/manual/mod/index.html.en +++ b/docs/manual/mod/index.html.en @@ -176,6 +176,7 @@ allowing up to one misspelling Layer (SSL) and Transport Layer Security (TLS) protocols
    mod_status
    Provides information on server activity and performance
    +
    mod_substitute
    Perform search and replace operations on response bodies
    mod_suexec
    Allows CGI scripts to run as a specified user and Group
    mod_unique_id
    Provides an environment variable with a unique diff --git a/docs/manual/mod/mod_substitute.html b/docs/manual/mod/mod_substitute.html new file mode 100644 index 0000000000..8b031f76a1 --- /dev/null +++ b/docs/manual/mod/mod_substitute.html @@ -0,0 +1,3 @@ +URI: mod_substitute.html.en +Content-Language: en +Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/mod/mod_substitute.html.en b/docs/manual/mod/mod_substitute.html.en new file mode 100644 index 0000000000..a890ab50b8 --- /dev/null +++ b/docs/manual/mod/mod_substitute.html.en @@ -0,0 +1,101 @@ + + + +mod_substitute - Apache HTTP Server + + + + + + +
    <-
    + +
    +

    Apache Module mod_substitute

    +
    +

    Available Languages:  en 

    +
    + + + +
    Description:Perform search and replace operations on response bodies
    Status:Experimental
    Module Identifier:substitute_module
    Source File:mod_substitute.c
    +

    Summary

    + +

    mod_substitute provides a mechanism to perform + both regular expression and fixed string substitutions on + response bodies.

    +

    This is an experimental module and should + be used with care.

    +
    +

    Directives

    + +
    + +
    top
    +

    Substitute Directive

    + + + + + + + +
    Description:Pattern to filter the response content
    Syntax:Substitute s/pattern/substitution/[inf]
    Context:directory, .htaccess
    Override:FileInfo
    Status:Experimental
    Module:mod_substitute
    +

    The Substitute directive specifies a + search and replace pattern to apply to the response body.

    + +

    The meaning of the pattern can be modified by using any + combination of these flags:

    + +
    +
    i
    +
    Perform a case-insensitive match.
    +
    n
    +
    By default the pattern is treated as a regular expression. + Using the n flag forces the pattern to be treated + as a fixed string.
    +
    f
    +
    The f flag causes mod_substitute to flatten the + result of a substitution allowing for later substitutions to + take place on the boundary of this one.
    +
    + +

    Example

    + <Location /> + + AddOutputFilterByType SUBSTITUTE text/html
    + Substitute s/foo/bar/ni
    +
    + </Location> +

    + +

    If either the pattern or the substitution contain a slash + character then an alternative delimiter should be used:

    + +

    Example of using an alternate delimiter

    + <Location /> + + AddOutputFilterByType SUBSTITUTE text/html
    + Substitute "s|<BR */?>|<br />|i" +
    + </Location> +

    + +
    +
    +
    +

    Available Languages:  en 

    +
    + \ No newline at end of file diff --git a/docs/manual/mod/mod_substitute.xml.meta b/docs/manual/mod/mod_substitute.xml.meta new file mode 100644 index 0000000000..8fab2f365e --- /dev/null +++ b/docs/manual/mod/mod_substitute.xml.meta @@ -0,0 +1,11 @@ + + + + mod_substitute + /mod/ + .. + + + en + + diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en index 4698036ac9..069247ae0c 100644 --- a/docs/manual/mod/quickreference.html.en +++ b/docs/manual/mod/quickreference.html.en @@ -734,41 +734,42 @@ in the Session Cache Certificate verification StartServers numbersMNumber of child server processes created at startup StartThreads numbersMNumber of threads created on startup -SuexecUserGroup User GroupsvEUser and group permissions for CGI programs -ThreadLimit numbersMSets the upper limit on the configurable number of threads +Substitute s/pattern/substitution/[inf]dhXPattern to filter the response content +SuexecUserGroup User GroupsvEUser and group permissions for CGI programs +ThreadLimit numbersMSets the upper limit on the configurable number of threads per child process -ThreadsPerChild numbersMNumber of threads created by each child process -ThreadStackSize sizesMThe size in bytes of the stack used by threads handling +ThreadsPerChild numbersMNumber of threads created by each child process +ThreadStackSize sizesMThe size in bytes of the stack used by threads handling client connections -TimeOut seconds 300 svCAmount of time the server will wait for +TimeOut seconds 300 svCAmount of time the server will wait for certain events before failing a request -TraceEnable [on|off|extended] on sCDetermines the behaviour on TRACE +TraceEnable [on|off|extended] on sCDetermines the behaviour on TRACE requests -TransferLog file|pipesvBSpecify location of a log file -TypesConfig file-path conf/mime.types sBThe location of the mime.types file -UnsetEnv env-variable [env-variable] -...svdhBRemoves variables from the environment -UseCanonicalName On|Off|DNS Off svdCConfigures how the server determines its own name and +TransferLog file|pipesvBSpecify location of a log file +TypesConfig file-path conf/mime.types sBThe location of the mime.types file +UnsetEnv env-variable [env-variable] +...svdhBRemoves variables from the environment +UseCanonicalName On|Off|DNS Off svdCConfigures how the server determines its own name and port -UseCanonicalPhysicalPort On|Off Off svdCConfigures how the server determines its own name and +UseCanonicalPhysicalPort On|Off Off svdCConfigures how the server determines its own name and port -User unix-userid #-1 sMThe userid under which the server will answer +User unix-userid #-1 sMThe userid under which the server will answer requests -UserDir directory-filenamesvBLocation of the user-specific directories -VirtualDocumentRoot interpolated-directory|none none svEDynamically configure the location of the document root +UserDir directory-filenamesvBLocation of the user-specific directories +VirtualDocumentRoot interpolated-directory|none none svEDynamically configure the location of the document root for a given virtual host -VirtualDocumentRootIP interpolated-directory|none none svEDynamically configure the location of the document root +VirtualDocumentRootIP interpolated-directory|none none svEDynamically configure the location of the document root for a given virtual host -<VirtualHost +<VirtualHost addr[:port] [addr[:port]] - ...> ... </VirtualHost>sCContains directives that apply only to a specific + ...> ... </VirtualHost>sCContains directives that apply only to a specific hostname or IP address -VirtualScriptAlias interpolated-directory|none none svEDynamically configure the location of the CGI directory for +VirtualScriptAlias interpolated-directory|none none svEDynamically configure the location of the CGI directory for a given virtual host -VirtualScriptAliasIP interpolated-directory|none none svEDynamically configure the location of the cgi directory for +VirtualScriptAliasIP interpolated-directory|none none svEDynamically configure the location of the cgi directory for a given virtual host -Win32DisableAcceptExsMUse accept() rather than AcceptEx() to accept network connections -XBitHack on|off|full off svdhBParse SSI directives in files with the execute bit +Win32DisableAcceptExsMUse accept() rather than AcceptEx() to accept network connections +XBitHack on|off|full off svdhBParse SSI directives in files with the execute bit set
    diff --git a/docs/manual/sitemap.html.en b/docs/manual/sitemap.html.en index 15bc713141..817b2397fe 100644 --- a/docs/manual/sitemap.html.en +++ b/docs/manual/sitemap.html.en @@ -233,6 +233,7 @@ Server on HPUX
  • Apache Module mod_speling
  • Apache Module mod_ssl
  • Apache Module mod_status
  • +
  • Apache Module mod_substitute
  • Apache Module mod_suexec
  • Apache Module mod_unique_id
  • Apache Module mod_userdir