]> granicus.if.org Git - apache/commitdiff
xform
authorEric Covener <covener@apache.org>
Mon, 23 May 2016 14:55:42 +0000 (14:55 +0000)
committerEric Covener <covener@apache.org>
Mon, 23 May 2016 14:55:42 +0000 (14:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745207 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/expr.html.en

index 57275e4c77e3cf3982d2114be00a62906747a6ca..b6729c2ffec0c8f7e11507fe6990f18190e125be 100644 (file)
@@ -558,6 +558,11 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"</pr
 &lt;/If&gt;
 &lt;/Directory&gt;
 
+# Check against the client IP
+&lt;If "-R '192.168.1.0/24'"&gt;
+    Header set matched true
+&lt;/If&gt;
+
 # Function examples in boolean context
 &lt;If "md5('foo') == 'acbd18db4cc2f85cedef654fccc4a4d8'"&gt;
   Header set checksum-matched true