]> granicus.if.org Git - apache/commitdiff
Better documentation for RewriteMap MapTypeOptions (r1664565)
authorJan Kaluža <jkaluza@apache.org>
Fri, 6 Mar 2015 09:53:40 +0000 (09:53 +0000)
committerJan Kaluža <jkaluza@apache.org>
Fri, 6 Mar 2015 09:53:40 +0000 (09:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1664575 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.xml
docs/manual/rewrite/rewritemap.xml

index a47b4b5beb87ed3f9e86b7ceb307e115ca929c52..b128de665304c53547ba574e07e09949f93e0acf 100644 (file)
@@ -282,6 +282,7 @@ URLs on the fly</description>
 <name>RewriteMap</name>
 <description>Defines a mapping function for key-lookup</description>
 <syntax>RewriteMap <em>MapName</em> <em>MapType</em>:<em>MapSource</em>
+    <em>MapTypeOptions</em>
 </syntax>
 <contextlist><context>server config</context><context>virtual host</context>
 </contextlist>
@@ -329,6 +330,11 @@ URLs on the fly</description>
       RewriteRule ^/ex/(.*) ${examplemap:$1}
       </highlight>
 
+      <p>The meaning of the <em>MapTypeOptions</em> argument depends on
+      particular <em>MapType</em>. See the
+      <a href="../rewrite/rewritemap.html">Using RewriteMap</a> for
+      more information.</p>
+
       <p>The following combinations for <em>MapType</em> and
       <em>MapSource</em> can be used:</p>
 
index 7e4bebdd20fa528d210b87454918cb3ee1034ead..9b4dc93197cf0039dc31b041c41edb859430a824 100644 (file)
@@ -349,10 +349,11 @@ by many requests.
     module="mod_rewrite">RewriteEngine</directive> set to
     <code>on</code>.</p>
 
-    <p>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 <directive module="mod_rewrite">
-    RewriteMap</directive> in the <code>username:groupname</code> format.</p>
+    <p>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
+    <directive module="mod_rewrite">RewriteMap</directive> in the
+    <code>username:groupname</code> format.</p>
 
     <p>This feature utilizes the <code>rewrite-map</code> mutex,
     which is required for reliable communication with the program.