<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>
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>
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.