]> granicus.if.org Git - apache/commitdiff
Merge r1745206 from trunk:
authorEric Covener <covener@apache.org>
Mon, 23 May 2016 14:56:57 +0000 (14:56 +0000)
committerEric Covener <covener@apache.org>
Mon, 23 May 2016 14:56:57 +0000 (14:56 +0000)
add a -R example, I had to ask for help to figure out the single quotes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1745210 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/expr.xml

index c80cd129ef315d3728bf8c9fa4ad8b5a8cdcc8a1..7ec7d3fc0149fb91f392c22d764a6860fd2ac3e7 100644 (file)
@@ -576,6 +576,11 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
 &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