RewriteRule before it evaluates the RewriteCond directives.
Consequently, $1 is already defined by the time the RewriteCond
directives are evaluated. This allows us to test for the existence
- of the the original (<code>document.html</code>) and target
+ of the original (<code>document.html</code>) and target
(<code>document.php</code>) files using the same base filename.</p>
<p>This ruleset is designed to use in a per-directory context (In a
<p>Looking at the hostname of the requesting client, we determine
which country they are coming from. If we can't do a lookup on their
IP address, we fall back to a default server.</p>
- <p>We'll use <directive module="mod_rewrite">RewriteMap</directive>
+ <p>We'll use a <directive module="mod_rewrite">RewriteMap</directive>
directive to build a list of servers that we wish to use.</p>
<example><pre>