From: Christophe Jaillet
Date: Fri, 23 Mar 2018 21:34:10 +0000 (+0000)
Subject: Document the 3rd argument of 'RewriteMap'
X-Git-Tag: 2.4.34~272
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13e5a9f6802180a28ad1aba6f0515350f575d925;p=apache
Document the 3rd argument of 'RewriteMap'
(r1664575 in trunk)
Compatibility note will be added in the next commit.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1827600 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index e96a583f8d..7c5a2b5c9e 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -300,6 +300,7 @@ LogLevel alert rewrite:trace3
RewriteMap
Defines a mapping function for key-lookup
RewriteMap MapName MapType:MapSource
+ MapTypeOptions
server configvirtual host
@@ -347,6 +348,11 @@ RewriteMap examplemap "txt:/path/to/file/map.txt"
RewriteRule "^/ex/(.*)" "${examplemap:$1}"
+ The meaning of the MapTypeOptions argument depends on
+ particular MapType. See the
+ Using RewriteMap for
+ more information.
+
The following combinations for MapType and
MapSource can be used:
diff --git a/docs/manual/rewrite/rewritemap.xml b/docs/manual/rewrite/rewritemap.xml
index 94a1935a5c..b3bba5f25f 100644
--- a/docs/manual/rewrite/rewritemap.xml
+++ b/docs/manual/rewrite/rewritemap.xml
@@ -366,10 +366,11 @@ by many requests.
module="mod_rewrite">RewriteEngine set to
on
.
- By default, external rewriting programs are started as root.
- This can be changed on UNIX systems by passing user name and
- group name as third argument to
- RewriteMap in the username:groupname
format.
+ By default, external rewriting programs are run as the
+ user:group who started httpd. This can be changed on UNIX systems
+ by passing user name and group name as third argument to
+ RewriteMap in the
+ username:groupname
format.
This feature utilizes the rewrite-map
mutex,
which is required for reliable communication with the program.