<description>Defines a condition under which rewriting will take place
</description>
<syntax> RewriteCond
- <em>TestString</em> <em>CondPattern</em></syntax>
+ <em>TestString</em> <em>CondPattern</em> [<em>flags</em>]</syntax>
<contextlist><context>server config</context><context>virtual host</context>
<context>directory</context><context>.htaccess</context></contextlist>
<override>FileInfo</override>
RewriteRule "^/images" "-" [F]
</highlight>
</li>
+ </ol>
- <li>You can also set special flags for
- <em>CondPattern</em> by appending
+ <p>You can also set special flags for <em>CondPattern</em> by appending
<strong><code>[</code><em>flags</em><code>]</code></strong>
as the third argument to the <code>RewriteCond</code>
directive, where <em>flags</em> is a comma-separated list of any of the
- following flags:
-
+ following flags:</p>
+
<ul>
<li>'<strong><code>nocase|NC</code></strong>'
(<strong>n</strong>o <strong>c</strong>ase)<br />
is well understood.
</li>
</ul>
- </li>
- </ol>
<p><strong>Example:</strong></p>