From 6ae3cff5b44a3d8c3404bcc9fc108af0ee737ee0 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Wed, 17 Apr 2013 01:51:22 +0000 Subject: [PATCH] Rearranges the sections so that 'int' is first, where it makes more sense, so that types progress in order of complexity, rather than some other arbitrary order. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1468709 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/rewrite/rewritemap.xml | 90 +++++++++++++++--------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/docs/manual/rewrite/rewritemap.xml b/docs/manual/rewrite/rewritemap.xml index 47e247f4d2..888da63eb9 100644 --- a/docs/manual/rewrite/rewritemap.xml +++ b/docs/manual/rewrite/rewritemap.xml @@ -109,6 +109,51 @@ once created, in your RewriteRule and may be used, and give examples of each.

+
+ int: Internal Function + +

When a MapType of int is used, the MapSource is one + of the available internal RewriteMap functions. Module authors can provide + additional internal functions by registering them with the + ap_register_rewrite_mapfunc API. + The functions that are provided by default are: +

+ + + +

+ To use one of these functions, create a RewriteMap referencing + the int function, and then use that in your RewriteRule: +

+ +

Redirect a URI to an all-lowercase version of itself

+ + +RewriteMap lc int:tolower +RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R] + + + +

Please note that the example offered here is for + illustration purposes only, and is not a recommendation. If you want + to make URLs case-insensitive, consider using + mod_speling instead. +

+
+ +
+
txt: Plain text maps @@ -284,51 +329,6 @@ by many requests.
-
- int: Internal Function - -

When a MapType of int is used, the MapSource is one - of the available internal RewriteMap functions. Module authors can provide - additional internal functions by registering them with the - ap_register_rewrite_mapfunc API. - The functions that are provided by default are: -

- - - -

- To use one of these functions, create a RewriteMap referencing - the int function, and then use that in your RewriteRule: -

- -

Redirect a URI to an all-lowercase version of itself

- - -RewriteMap lc int:tolower -RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R] - - - -

Please note that the example offered here is for - illustration purposes only, and is not a recommendation. If you want - to make URLs case-insensitive, consider using - mod_speling instead. -

-
- -
-
prg: External Rewriting Program

When a MapType of prg is used, the MapSource is a -- 2.40.0