diff --git a/docs/manual/mod/mod_substitute.html.en b/docs/manual/mod/mod_substitute.html.en index b373cc130a..26397c7ae4 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