diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en
index b67cfa8c23..89ec3a6970 100644
--- a/docs/manual/mod/mod_rewrite.html.en
+++ b/docs/manual/mod/mod_rewrite.html.en
@@ -804,9 +804,9 @@ Apache HTTP Server 2.0.41 and later
utility. (Details ...)
int
- One of the four available internal functions provided by
- RewriteMap: toupper, tolower, escape or
- unescape. (Details ...)
+ One of the five available internal functions provided by
+ RewriteMap: toupper, tolower, escape, unescape, or sleep.
+ (Details ...)
prg
Calls an external program or script to process the
@@ -1033,7 +1033,9 @@ cannot use $N in the substitution string!
A dash indicates that no substitution should be performed
(the existing path is passed through untouched). This is used
when a flag (see below) needs to be applied without changing
- the path.
+ the path. In Apache HTTP Server 2.5.0 and later, a substitution
+ that ultimately expands to this single character is also treated as
+ "no substitution".
diff --git a/docs/manual/rewrite/rewritemap.html.en b/docs/manual/rewrite/rewritemap.html.en
index 9442c982fc..79ec1124ee 100644
--- a/docs/manual/rewrite/rewritemap.html.en
+++ b/docs/manual/rewrite/rewritemap.html.en
@@ -316,6 +316,11 @@ by many requests.
unescape:
Translates hex-encodings in the key back to
special characters.
+ sleep:
+ Causes the request to sleep for the amount of time specified in
+ the key, in milliseconds. Keys are accepted in the form of
+ "2000", "2000ms", or "2s". This map always returns an empty value.
+ Available since Apache HTTP Server 2.5.0
@@ -327,6 +332,12 @@ by many requests.
RewriteMap lc int:tolower
RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]
+
+ Delay a request by one half of a second
+ RewriteMap sleep int:sleep
+ RewriteRule ^/foo/bar.html -${sleep:"500ms"}
+
+
Please note that the example offered here is for