From: Eric Covener Date: Wed, 26 Nov 2014 19:06:38 +0000 (+0000) Subject: xforms X-Git-Tag: 2.4.11~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc79360adc77ee889cb557f991fab847295ba7e6;p=apache xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1641891 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/expr.html.en b/docs/manual/expr.html.en index 514b307c20..e7babc4880 100644 --- a/docs/manual/expr.html.en +++ b/docs/manual/expr.html.en @@ -508,7 +508,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