From: Christophe Jaillet Date: Tue, 5 Apr 2016 05:09:25 +0000 (+0000) Subject: Fix the -H|-h flag as spotted by Pete in the online doc. X-Git-Tag: 2.5.0-alpha~1786 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d6691c6356852bd7e4d2bb35c375ace8d453e35a;p=thirdparty%2Fapache%2Fhttpd.git Fix the -H|-h flag as spotted by Pete in the online doc. Add the missing -ne in RewriteCond Add some missing hyperlinks to the corresponding directives. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1737767 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index ea0fca334cf..9e6a106d21c 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -117,9 +117,10 @@ URLs on the fly RewriteEngine on directive for each virtual host in which you wish to use rewrite rules.

-

RewriteMap directives of the type prg +

RewriteMap directives + of the type prg are not started during server initialization if they're defined in a - context that does not have RewriteEngine set to + context that does not have RewriteEngine set to on

@@ -842,6 +843,13 @@ AliasMatch "^/myapp" "/opt/myapp-1.2.3" -l by using the -L or -h variant. +
-ne
+
Is numerically not equal to
+ The TestString is treated as an integer, and is + numerically compared to the CondPattern. True if + the two are numerically different. This is equivalent to + !-ne
+ @@ -875,7 +883,7 @@ AliasMatch "^/myapp" "/opt/myapp-1.2.3" it can impact your server's performance! -
-H
+
-h
Is symbolic link, bash convention.
See -l.
@@ -1093,7 +1101,7 @@ relative substitutions.
  • If you wish to match against the full URL-path in a per-directory (htaccess) RewriteRule, use the %{REQUEST_URI} variable in -a RewriteCond.
  • +a RewriteCond.
  • The removed prefix always ends with a slash, meaning the matching occurs against a string which never has a leading slash. Therefore, a Pattern with ^/ never @@ -1204,9 +1212,11 @@ cannot use $N in the substitution string! (N=0..9), which will be replaced by the contents of the Nth group of the matched Pattern. The server-variables are the same - as for the TestString of a RewriteCond + as for the TestString of a + RewriteCond directive. The mapping-functions come from the - RewriteMap directive and are explained there. + RewriteMap + directive and are explained there. These three types of variables are expanded in the order above.

    Rewrite rules are applied to the results of previous rewrite @@ -1235,7 +1245,7 @@ cannot use $N in the substitution string!

    Additionally you can set special actions to be performed by appending [flags] - as the third argument to the RewriteRule + as the third argument to the RewriteRule directive. Flags is a comma-separated list, surround by square brackets, of any of the flags in the following table. More details, and examples, for each flag, are available in the