]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
xforms
authorEric Covener <covener@apache.org>
Mon, 23 May 2016 14:58:58 +0000 (14:58 +0000)
committerEric Covener <covener@apache.org>
Mon, 23 May 2016 14:58:58 +0000 (14:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1745213 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/expr.html.en

index 66859d1aeafc25db63eb309771a0f42286b273a1..9bd50b620c7b2965e48b61341d8e09307620bfec 100644 (file)
@@ -528,13 +528,15 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"</pr
 &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}"