summaryrefslogtreecommitdiff
path: root/docs/manual/mod/mod_rewrite.html
diff options
context:
space:
mode:
authorRalf S. Engelschall <rse@apache.org>1999-01-01 19:50:23 +0000
committerRalf S. Engelschall <rse@apache.org>1999-01-01 19:50:23 +0000
commit5377cc517ad829d9fd3a02f5d018159fbaaf239a (patch)
tree9e69f51e5ba757c83c03bad263071ad9bceacaff /docs/manual/mod/mod_rewrite.html
parenta4f8c69eb56a6012d26ae8971cfe51c8fa65f6c5 (diff)
downloadhttpd-5377cc517ad829d9fd3a02f5d018159fbaaf239a.tar.gz
Two minor enhancements to mod_rewrite: First RewriteRule now also supports the
``nocase|NC'' flag (as RewriteCond already does for ages) to match case insensitive (this especially avoids nasty patterns like `[tT][eE][sS][tT]'). Second two additional internal map functions `escape' and `unescape' were added which can be used to escape/unescape to/from hex-encodings in URLs parts (this is especially useful in combination with map lookups). Submitted by: Magnus Bodin, Ian Kallen Integrated and fixed by: Ralf S. Engelschall git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82563 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_rewrite.html')
-rw-r--r--docs/manual/mod/mod_rewrite.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/manual/mod/mod_rewrite.html b/docs/manual/mod/mod_rewrite.html
index 4a5a8f44d0..be45086708 100644
--- a/docs/manual/mod/mod_rewrite.html
+++ b/docs/manual/mod/mod_rewrite.html
@@ -751,6 +751,10 @@ close(TXT)</PRE></TD></TR>
Converts the looked up key to all upper case.
<LI><STRONG>tolower</STRONG>:<BR>
Converts the looked up key to all lower case.
+ <LI><STRONG>escape</STRONG>:<BR>
+ Translates special characters in the looked up key to hex-encodings.
+ <LI><STRONG>unescape</STRONG>:<BR>
+ Translates hex-encodings in the looked up key back to special characters.
</UL>
<P>
<LI><STRONG>External Rewriting Program</STRONG><BR>
@@ -1585,6 +1589,11 @@ comma-separated list of the following flags:
chance is high that you will run into problems (or even overhead) on sub-requests.
In these cases, use this flag.
<P>
+<LI>'<STRONG><CODE>nocase|NC</CODE></STRONG>' (<STRONG>n</STRONG>o <STRONG>c</STRONG>ase)<BR>
+ This makes the <EM>Pattern</EM> case-insensitive, <EM>i.e.</EM>, there is
+ no difference between 'A-Z' and 'a-z' when <EM>Pattern</EM> is matched
+ against the current URL.
+<P>
<LI>'<STRONG><CODE>qsappend|QSA</CODE></STRONG>' (<STRONG>q</STRONG>uery <STRONG>s</STRONG>tring
<STRONG>a</STRONG>ppend)<BR>
This flag forces the rewriting engine to append a query