<section id="examples">
- <title>Example expressions</title>
+ <title>Example expressions</title>
<p>The following examples show how expressions might be used to
evaluate requests:</p>
- <!-- This section should probably be extended with more, useful examples -->
- <highlight language="config">
+ <!-- This section should probably be extended with more, useful examples -->
+ <highlight language="config">
# Compare the host name to example.com and redirect to www.example.com if it matches
<If "%{HTTP_HOST} == 'example.com'">
Redirect permanent "/" "http://www.example.com/"
Header set foo-checksum "expr=%{md5:foo}"
# This delays the evaluation of the condition clause compared to <If>
-Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path.php$#"
+Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path\.php$#"
- </highlight>
+ </highlight>
</section>
<section id="other">