</If>
</Directory>
-# Function examples in boolean context
+# Check against the client IP
+<If "-R '192.168.1.0/24'">
+ Header set matched true
+</If>
+
+# Function example in boolean context
<If "md5('foo') == 'acbd18db4cc2f85cedef654fccc4a4d8'">
Header set checksum-matched true
</If>
-<If "md5('foo') == replace('md5:XXXd18db4cc2f85cedef654fccc4a4d8', 'md5:XXX', 'acb')">
- Header set checksum-matched-2 true
-</If>
# Function example in string context
Header set foo-checksum "expr=%{md5:foo}"