httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1643268 - /httpd/httpd/branches/2.4.x/docs/manual/expr.xml
Date Fri, 05 Dec 2014 13:28:31 GMT
Author: covener
Date: Fri Dec  5 13:28:31 2014
New Revision: 1643268

URL: http://svn.apache.org/viewvc?rev=1643268&view=rev
Log:
Merge r1643267 from trunk:

function examples, other flavor of function examples. replace() example


Modified:
    httpd/httpd/branches/2.4.x/docs/manual/expr.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/expr.xml
URL: http://svn.apache.org/r1643267
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/expr.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/expr.xml Fri Dec  5 13:28:31 2014
@@ -569,6 +569,17 @@ listfunction ::= listfuncname "<strong>(
 &lt;/If&gt;
 &lt;/Directory&gt;
 
+# Function examples in boolean context
+&lt;If "md5('foo') == 'acbd18db4cc2f85cedef654fccc4a4d8'"&gt;
+  Header set checksum-matched true
+&lt;/If&gt;
+&lt;If "md5('foo') == replace('md5:XXXd18db4cc2f85cedef654fccc4a4d8', 'md5:XXX', 'acb')&gt;
+  Header set checksum-matched-2 true
+&lt;/If&gt;
+
+# Function example in string context
+Header set foo-checksum "expr=%{md5:foo}"
+
 	</highlight>
 </section>
 



Mime
View raw message