httpd-cvs mailing list archives

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

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

Modified:
    httpd/httpd/trunk/docs/manual/expr.xml

Modified: httpd/httpd/trunk/docs/manual/expr.xml
==============================================================================
--- httpd/httpd/trunk/docs/manual/expr.xml (original)
+++ httpd/httpd/trunk/docs/manual/expr.xml Fri Dec  5 13:28:08 2014
@@ -596,6 +596,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