From: Christophe Jaillet The You would then be able to use this map in a
-
Those that are special to mod_rewrite include those below.
+Those that are special to
API_VERSION
httpd.conf
file) you must
use %{LA-U:REMOTE_USER}
- this
variable is set by the authorization phases, which come
- after the URL translation phase (during which mod_rewrite
- operates).
- On the other hand, because mod_rewrite implements
+ after the URL translation phase (during which
+
On the other hand, because .htaccess
file) via
the Fixup phase of the API and because the authorization
phases come before this phase, you just can use
@@ -980,7 +982,7 @@ RewriteRule "^/images" "-" [F]
You can also set special flags for CondPattern by appending
[
flags]
- as the third argument to the RewriteCond
+ as the third argument to the
Directives such as
Directives such as
In mod_rewrite, the NOT character +
In When the substitution string begins with a string
-resembling "/~user" (via explicit text or backreferences), mod_rewrite performs
+resembling "/~user" (via explicit text or backreferences), !
') is also available as a possible pattern
prefix. This enables you to negate a pattern; to say, for instance:
``if the current URL does NOT match this
@@ -1425,7 +1427,7 @@ cannot use $N
in the substitution string!