]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
PR#46582 document that modules can implement internal map functions
authorEric Covener <covener@apache.org>
Thu, 4 Nov 2010 23:26:35 +0000 (23:26 +0000)
committerEric Covener <covener@apache.org>
Thu, 4 Nov 2010 23:26:35 +0000 (23:26 +0000)
minor changes to original due to changes in context.

Submitted by: Bob Ionescu
Reviewed By: Eric Covener:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031346 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/rewritemap.html.en
docs/manual/rewrite/rewritemap.xml

index 2dd6ab0371506c4565181f48f308f90417115818..99b7c11137ba9ae3b92ab194ee2130f58ce526d0 100644 (file)
@@ -299,9 +299,10 @@ by many requests.
     
 
     <p>When a MapType of <code>int</code> is used, the MapSource is one
-    of the available internal RewriteMap functions. Currently there
-    is no mechanism for creating your own functions. The available
-    functions are:
+    of the available internal RewriteMap functions.  Module authors can provide 
+    additional internal functions by registring them with the
+    <code>ap_register_rewrite_mapfunc</code> API. 
+    The functions that are provided by default are:
     </p>
 
     <ul>
index 4d50b20177ce476629b54d782bc5c9cb54b65c08..4d4a9566117dbb7c957d9473fef4a33770ea4944 100644 (file)
@@ -302,9 +302,10 @@ by many requests.
     <title>int: Internal Function</title>
 
     <p>When a MapType of <code>int</code> is used, the MapSource is one
-    of the available internal RewriteMap functions. Currently there
-    is no mechanism for creating your own functions. The available
-    functions are:
+    of the available internal RewriteMap functions.  Module authors can provide 
+    additional internal functions by registring them with the
+    <code>ap_register_rewrite_mapfunc</code> API. 
+    The functions that are provided by default are:
     </p>
 
     <ul>