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

docs/manual/rewrite/access.xml
docs/manual/rewrite/avoid.xml
docs/manual/rewrite/index.xml

index e214ea7a4e3aa63706569755cef3f71f1f4dba71..dceb672baba8ba7bffccc8d38e71502866f2a76a 100644 (file)
@@ -31,7 +31,7 @@
 <a href="../mod/mod_rewrite.html">reference documentation</a>. It describes
 how you can use <module>mod_rewrite</module> to control access to
 various resources, and other related techniques.
-This includes many examples of common uses of mod_rewrite,
+This includes many examples of common uses of <module>mod_rewrite</module>,
 including detailed descriptions of how each works.</p>
 
 <note type="warning">Note that many of these examples won't work unchanged in your
@@ -118,7 +118,7 @@ RewriteRule "\.(gif|jpg|png)$" "http://other.example.com/image.gif"  [R,NC]
         <dd>
         <p>If all you wish to do is deny access to the resource, rather
         than redirecting that request elsewhere, this can be
-        accomplished without the use of mod_rewrite:</p>
+        accomplished without the use of <module>mod_rewrite</module>:</p>
 
         <highlight language="config">
 SetEnvIf Referer example\.com localreferer
@@ -150,7 +150,7 @@ SetEnvIf Referer example\.com localreferer
         </p>
 
         <p>Note that there are methods of accomplishing this which do
-        not use mod_rewrite. Note also that any technique that relies on
+        not use <module>mod_rewrite</module>. Note also that any technique that relies on
         the clients <code>USER_AGENT</code> string can be circumvented
         very easily, since that string can be changed.</p>
         </dd>
@@ -179,7 +179,7 @@ RewriteRule "^/secret/files/"      "-"                   [F]
 
       <dd>
       <p>
-        Rather than using mod_rewrite for this, you can accomplish the
+        Rather than using <module>mod_rewrite</module> for this, you can accomplish the
         same end using alternate means, as illustrated here:
       </p>
       <highlight language="config">
index 2dab02fefeb610d470efc030aa92db09cf74898e..5ae7a6c379c8a78616886468b8fd6254bc191b4f 100644 (file)
@@ -156,7 +156,7 @@ server.</p>
 
 <section id="vhosts"><title>Virtual Hosting</title>
 <p>Although it is possible to handle <a href="vhosts.html">virtual hosts
-with mod_rewrite</a>, it is seldom the right way. Creating individual
+with <module>mod_rewrite</module></a>, it is seldom the right way. Creating individual
 <directive module="core" type="section">VirtualHost</directive> blocks is
 almost always the right way to go. In the
 event that you have an enormous number of virtual hosts, consider using
index b7403198a3d7006bfdea59ed0e3be0f980c31f63..444ad90231e2da0f5f5e77a6dab71d328490091d 100644 (file)
       passthrough, depending on what <a href="flags.html">flags</a> you
       attach to the rules.</p>
 
-      <p>Since mod_rewrite is so powerful, it can indeed be rather
+      <p>Since <module>mod_rewrite</module> is so powerful, it can indeed be rather
       complex. This document supplements the <a
       href="../mod/mod_rewrite.html">reference documentation</a>, and
       attempts to allay some of that complexity, and provide highly
       annotated examples of common scenarios that you may handle with
-      mod_rewrite. But we also attempt to show you when you should not
-      use mod_rewrite, and use other standard Apache features instead,
+      <module>mod_rewrite</module>. But we also attempt to show you when you should not
+      use <module>mod_rewrite</module>, and use other standard Apache features instead,
       thus avoiding this unnecessary complexity.</p>