]> granicus.if.org Git - apache/commitdiff
add a -R example, I had to ask for help to figure out the single quotes.
authorEric Covener <covener@apache.org>
Mon, 23 May 2016 14:55:13 +0000 (14:55 +0000)
committerEric Covener <covener@apache.org>
Mon, 23 May 2016 14:55:13 +0000 (14:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745206 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/expr.xml

index 69d02d6bfc71b5e569ed602fd31707437dfb8fa6..40ad217f28b4b7ccc49422d143cec07590080c00 100644 (file)
@@ -609,6 +609,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