From f6322a05c5c6944973849de0921e5b83944775f8 Mon Sep 17 00:00:00 2001 From: Joshua Slive Date: Fri, 22 Apr 2005 17:56:28 +0000 Subject: [PATCH] Backport NE and NC RewriteRule flag docs which were somehow missed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@164263 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_rewrite.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index f937c22daa0..ac62aa5181a 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -1481,6 +1481,32 @@ When using the NOT character But be careful not to create an infinite loop! +
  • 'nocase|NC' + (no case)
    + This makes the Pattern case-insensitive, + i.e., there is no difference between 'A-Z' and + 'a-z' when Pattern is matched against the current + URL.
  • + +
  • + 'noescape|NE' + (no URI escaping of + output)
    + This flag keeps mod_rewrite from applying the usual URI + escaping rules to the result of a rewrite. Ordinarily, + special characters (such as '%', '$', ';', and so on) + will be escaped into their hexcode equivalents ('%25', + '%24', and '%3B', respectively); this flag prevents this + from being done. This allows percent symbols to appear in + the output, as in + + RewriteRule /foo/(.*) /bar?arg=P1\%3d$1 [R,NE] + + + which would turn '/foo/zed' into a safe + request for '/bar?arg=P1=zed'. +
  • +
  • 'nosubreq|NS' (used only if no internal -- 2.47.3