From 26bf0ebaa76c33f58073d376da0442581f6739e9 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Wed, 26 Nov 2014 19:05:25 +0000 Subject: [PATCH] xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1641889 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/expr.html.en | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/manual/expr.html.en b/docs/manual/expr.html.en index 2fc2f8ce68b..61b3f341cf6 100644 --- a/docs/manual/expr.html.en +++ b/docs/manual/expr.html.en @@ -531,7 +531,20 @@ listfunction ::= listfuncname "(" word ")" +</If> + +# Check an environment variable for a regular expression, negated. +<If "! reqenv('REDIRECT_FOO') =~ /bar/"> + Header set matched true +</If> + +# Check result of URI mapping by running in Directory context with -f +<Directory /var/www> + AddEncoding x-gzip gz +<If "-f '%{REQUEST_FILENAME}.unzipme' && ! %{HTTP:Accept-Encoding} =~ /gzip/"> + SetOutputFilter INFLATE +</If> +</Directory>
top
-- 2.47.3