From: Eric Covener Date: Fri, 5 Dec 2014 13:28:31 +0000 (+0000) Subject: Merge r1643267 from trunk: X-Git-Tag: 2.4.11~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff24a449a30d0f47284c1843b413bcea6df2b775;p=apache Merge r1643267 from trunk: function examples, other flavor of function examples. replace() example git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1643268 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/expr.xml b/docs/manual/expr.xml index 033e56c7b0..172ff0d279 100644 --- a/docs/manual/expr.xml +++ b/docs/manual/expr.xml @@ -569,6 +569,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}" +