From: Jan Kaluža Date: Fri, 6 Mar 2015 09:53:40 +0000 (+0000) Subject: Better documentation for RewriteMap MapTypeOptions (r1664565) X-Git-Tag: 2.5.0-alpha~3403 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d8a22cfb464e76b94e6166d92a4d2c8c659dbbe;p=apache Better documentation for RewriteMap MapTypeOptions (r1664565) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1664575 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index a47b4b5beb..b128de6653 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -282,6 +282,7 @@ URLs on the fly RewriteMap Defines a mapping function for key-lookup RewriteMap MapName MapType:MapSource + MapTypeOptions server configvirtual host @@ -329,6 +330,11 @@ URLs on the fly 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 7e4bebdd20..9b4dc93197 100644 --- a/docs/manual/rewrite/rewritemap.xml +++ b/docs/manual/rewrite/rewritemap.xml @@ -349,10 +349,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.