From 550d8e8e6ccef95a119bc265101792b0475a7aa0 Mon Sep 17 00:00:00 2001
From: Daniel Baumann The Module: mod_setenvif SetEnvIfExpr
directive defines
- environment variables based on an <If>
- ap_expr
. These expressions will be evaluated at runtime,
- and applied env-variable in the same fashion as SetEnvIf
.SetEnvIf
, including backreferences.
SetEnvIfExpr "tolower(req('X-Sendfile')) == 'd:\images\very_big.iso')" iso_delivered+
SetEnvIfExpr "tolower(req('X-Sendfile')) == 'd:\images\very_big.iso')" iso_delivered + SetEnvIfExpr "tolower(req('X-Sendfile')) =~ /(.*\.iso$)/" iso-path=$1
This would set the environment variable iso_delivered
@@ -352,7 +353,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_setenvif.htm
}
})(window, document);
//-->