From: Eric Covener Date: Sun, 31 Dec 2017 16:12:55 +0000 (+0000) Subject: up to date xform X-Git-Tag: 2.5.0-alpha2-ci-test-only~3023 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82b020d50ad2c81251e6cacba7f61578564e540a;p=thirdparty%2Fapache%2Fhttpd.git up to date xform git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1819741 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_substitute.html.en b/docs/manual/mod/mod_substitute.html.en index b373cc130a8..26397c7ae4e 100644 --- a/docs/manual/mod/mod_substitute.html.en +++ b/docs/manual/mod/mod_substitute.html.en @@ -58,7 +58,7 @@ Override:FileInfo Status:Extension Module:mod_substitute -Compatibility:expr= substitution values were added in 2.5.1 +Compatibility:"expr=" substitution values were added in 2.5.1

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

@@ -123,7 +123,7 @@

When using an expression for the - substitution, regular expression backreferencwa must be + substitution, regular expression backreferences must be backslash ('\') escaped as illustrated in the example below:

Expression Example

<Location "/">
     AddOutputFilterByType SUBSTITUTE text/html
@@ -132,7 +132,12 @@
 </Location>
- +

Expressions and caching

+

Caution must be exercised when performing substitutions that reference + HTTP request headers. Because this module operates after response headers + have been sent, the expression parser cannot add + referenced HTTP request headers to the outgoing Vary header.

+

A common use scenario for mod_substitute is the situation in which a front-end server proxies requests to a back-end