diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index dc3a8dd80f..423aedc90f 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.
prg
+
prg
are not started during server initialization if they're defined in a
- context that does not have on
When the AllowNoSlash
option can be enabled to ensure
that rewrite rules are no longer ignored. This option makes it possible to
@@ -236,7 +237,7 @@ URLs on the fly
Available in Apache HTTP Server 2.4.3 and later.
Enabling this option will make the server vulnerable to security issues if used with rewrite rules which are not @@ -265,8 +266,8 @@ URLs on the fly
When a relative substitution is made
in directory (htaccess) context and
The
This directive is required when you use a relative path in a substitution in per-directory (htaccess) context unless either of the following conditions are true:
In the example below,
REQUEST_FILENAME
is referenced. Otherwise,
such as when used in virtual host context, the same
- value as REQUEST_URI
. Depending on the value of
+ value as REQUEST_URI
. Depending on the value of
REQUEST_URI
to map the request to a file.
@@ -711,7 +713,7 @@ AliasMatch "^/myapp" "/opt/myapp-1.2.3"
so that certain conditions might not be evaluated at all.
%{LA-U:variable}
+ %{LA-U:variable}
can be used for look-aheads which perform
an internal (URL-based) sub-request to determine the final
value of variable. This can be used to access
@@ -842,6 +844,13 @@ AliasMatch "^/myapp" "/opt/myapp-1.2.3"
-l by using the -L or
-h variant.
+ !-ne
This flag only returns information about things like access control, authentication, and authorization. This flag - does not return information about the status code the - configured handler (static file, CGI, proxy, etc.) would have + does not return information about the status code the + configured handler (static file, CGI, proxy, etc.) would have returned.
Explanation: If you use a browser which identifies itself @@ -1043,7 +1052,6 @@ RewriteRule "^/$" "/homepage.std.html" [L] path relative to that per-directory context. Subsequent patterns are matched against the output of the last matching RewriteRule.
-In
%{REQUEST_URI}
variable in
-a ^/
never
@@ -1141,7 +1149,7 @@ cannot use $N
in the substitution string!
$N
in the substitution string!
you specify a Substitution string of
/www/file.html
, then this will be treated as a
URL-path unless a directory named www
- exists at the root or your file-system (or, in the case of
+ exists at the root or your file-system (or, in the case of
using rewrites in a .htaccess
file, relative to
your document root), in which case it will
be treated as a file-system path. If you wish other
@@ -1205,9 +1213,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
+ RewriteMap
directive and are explained there.
+ Rewrite rules are applied to the results of previous rewrite
@@ -1236,7 +1246,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
@@ -1368,7 +1378,7 @@ cannot use qsappend|QSA
- Appends any query string from the original request URL to
+ Appends any query string from the original request URL to
any query string created in the rewrite target.details ...
$N
in the substitution string!
qslast|QSL
Interpret the last (right-most) question mark as the query string
- delimeter, instead of the first (left-most) as normally used.
+ delimeter, instead of the first (left-most) as normally used.
Available in 2.4.19 and later.
details
...