how you can use <module>mod_rewrite</module> to create dynamically
configured virtual hosts.</p>
-<note type="warning">mod_rewrite is usually not the best way to configure
+<note type="warning"><module>mod_rewrite</module> is usually not the best way to configure
virtual hosts. You should first consider the <a
href="../vhosts/mass.html">alternatives</a> before resorting to
mod_rewrite. See also the "<a href="avoid.html#vhosts">how to avoid
-mod_rewrite</a> document.</note>
+<module>mod_rewrite</module></a> document.</note>
</summary>
<seealso><a href="../mod/mod_rewrite.html">Module documentation</a></seealso>
skipped.</p>
<p>
-As with many techniques discussed in this document, mod_rewrite really
+As with many techniques discussed in this document, <module>mod_rewrite</module> really
isn't the best way to accomplish this task. You should, instead,
consider using <module>mod_vhost_alias</module> instead, as it will much
more gracefully handle anything beyond serving static files, such as any
thing as <a href="#per-hostname">the first example</a>. The first
half is very similar to the corresponding part above, except for
some changes, required for backward compatibility and to make the
- <code>mod_rewrite</code> part work properly; the second half
- configures <code>mod_rewrite</code> to do the actual work.</p>
+ <module>mod_rewrite</module> part work properly; the second half
+ configures <module>mod_rewrite</module> to do the actual work.</p>
- <p>Because <code>mod_rewrite</code> runs before other URI translation
- modules (e.g., <code>mod_alias</code>), <code>mod_rewrite</code> must
+ <p>Because <module>mod_rewrite</module> runs before other URI translation
+ modules (e.g., <module>mod_alias</module>), <module>mod_rewrite</module> must
be told to explicitly ignore any URLs that would have been handled
by those modules. And, because these rules would otherwise bypass
any <code>ScriptAlias</code> directives, we must have
- <code>mod_rewrite</code> explicitly enact those mappings.</p>
+ <module>mod_rewrite</module> explicitly enact those mappings.</p>
<highlight language="config">
# get the server name from the Host: header