Skip to content

Commit

Permalink
add a -R example, I had to ask for help to figure out the single quotes.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745206 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
covener committed May 23, 2016
1 parent 0001889 commit c306510
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/manual/expr.xml
Expand Up @@ -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
Expand Down

0 comments on commit c306510

Please sign in to comment.