]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Wrap module name in <module>
authorRich Bowen <rbowen@apache.org>
Tue, 14 Apr 2026 20:02:12 +0000 (20:02 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 14 Apr 2026 20:02:12 +0000 (20:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933070 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/vhosts.xml

index bbca372626ff84baed8f6ebc432dc4907f64b6dc..41322a094c8487bb19ffcf0e1ca508280291d4c7 100644 (file)
 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>
@@ -107,7 +107,7 @@ starts with <code>www.</code>, and if it does, the rewriting is
 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
@@ -125,15 +125,15 @@ dynamic content, and Alias resolution.
     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