httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1745213 - /httpd/httpd/branches/2.4.x/docs/manual/expr.html.en
Date Mon, 23 May 2016 14:58:58 GMT
Author: covener
Date: Mon May 23 14:58:58 2016
New Revision: 1745213

URL: http://svn.apache.org/viewvc?rev=1745213&view=rev
Log:

xforms

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/expr.html.en

Modified: httpd/httpd/branches/2.4.x/docs/manual/expr.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/expr.html.en?rev=1745213&r1=1745212&r2=1745213&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/expr.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/expr.html.en Mon May 23 14:58:58 2016
@@ -528,13 +528,15 @@ listfunction ::= listfuncname "<strong>(
 &lt;/If&gt;
 &lt;/Directory&gt;
 
-# Function examples in boolean context
+# Check against the client IP
+&lt;If "-R '192.168.1.0/24'"&gt;
+    Header set matched true
+&lt;/If&gt;
+
+# Function example 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}"



Mime
View raw message