From: Eric Covener Date: Fri, 5 Dec 2014 13:28:08 +0000 (+0000) Subject: function examples, other flavor of function examples. replace() example X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6c356aa677f8ead3f086c31d416bdfd084fae22;p=thirdparty%2Fapache%2Fhttpd.git function examples, other flavor of function examples. replace() example git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1643267 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/expr.xml b/docs/manual/expr.xml index d493c597d41..e2c99535621 100644 --- a/docs/manual/expr.xml +++ b/docs/manual/expr.xml @@ -596,6 +596,17 @@ listfunction ::= listfuncname "(" word ")" </If> </Directory> +# Function examples in boolean context +<If "md5('foo') == 'acbd18db4cc2f85cedef654fccc4a4d8'"> + Header set checksum-matched true +</If> +<If "md5('foo') == replace('md5:XXXd18db4cc2f85cedef654fccc4a4d8', 'md5:XXX', 'acb')> + Header set checksum-matched-2 true +</If> + +# Function example in string context +Header set foo-checksum "expr=%{md5:foo}" +