From 67e420e3f57814d42622d30af861341646b82f6c Mon Sep 17 00:00:00 2001
From: Christophe Jaillet
value
. Since version 2.0.51, Apache httpd will
recognize occurrences of $1
..$9
within
value and replace them by parenthesized subexpressions
- of regex.
+ of regex. $0
provides access to the whole
+ string matched by that pattern.
SetEnvIf Request_URI "\.gif$" object_is_image=gif SetEnvIf Request_URI "\.jpg$" object_is_image=jpg @@ -237,6 +238,8 @@ SetEnvIf Referer www\.mydomain\.example\.com intra_site_referral SetEnvIf object_is_image xbm XBIT_PROCESSING=1 +SetEnvIf Request_URI "\.(.*)$" EXTENSION=$1 + SetEnvIf ^TS ^[a-z] HAVE_TSdiff --git a/docs/manual/mod/mod_setenvif.xml.fr b/docs/manual/mod/mod_setenvif.xml.fr index 80c281e45d..ef1abcc6f2 100644 --- a/docs/manual/mod/mod_setenvif.xml.fr +++ b/docs/manual/mod/mod_setenvif.xml.fr @@ -1,7 +1,7 @@ - + diff --git a/docs/manual/mod/mod_setenvif.xml.ja b/docs/manual/mod/mod_setenvif.xml.ja index c10a32c7d2..9189c9b63b 100644 --- a/docs/manual/mod/mod_setenvif.xml.ja +++ b/docs/manual/mod/mod_setenvif.xml.ja @@ -1,7 +1,7 @@ - + + +