httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1745206 - /httpd/httpd/trunk/docs/manual/expr.xml
Date Mon, 23 May 2016 14:55:13 GMT
Author: covener
Date: Mon May 23 14:55:13 2016
New Revision: 1745206

URL: http://svn.apache.org/viewvc?rev=1745206&view=rev
Log:
add a -R example, I had to ask for help to figure out the single quotes.


Modified:
    httpd/httpd/trunk/docs/manual/expr.xml

Modified: httpd/httpd/trunk/docs/manual/expr.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/expr.xml?rev=1745206&r1=1745205&r2=1745206&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/expr.xml (original)
+++ httpd/httpd/trunk/docs/manual/expr.xml Mon May 23 14:55:13 2016
@@ -609,6 +609,11 @@ listfunction ::= listfuncname "<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



Mime
View raw message