Commit 1b81ae9c authored by Eric Covener's avatar Eric Covener
Browse files

xforms


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1745213 13f79535-47bb-0310-9956-ffa450edef68
parent d0b3b19e
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -528,13 +528,15 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"</pr
&lt;/If&gt;
&lt;/Directory&gt;

# Function examples in boolean context
# Check against the client IP
&lt;If "-R '192.168.1.0/24'"&gt;
    Header set matched true
&lt;/If&gt;

# Function example in boolean context
&lt;If "md5('foo') == 'acbd18db4cc2f85cedef654fccc4a4d8'"&gt;
  Header set checksum-matched true
&lt;/If&gt;
&lt;If "md5('foo') == replace('md5:XXXd18db4cc2f85cedef654fccc4a4d8', 'md5:XXX', 'acb')"&gt;
  Header set checksum-matched-2 true
&lt;/If&gt;

# Function example in string context
Header set foo-checksum "expr=%{md5:foo}"