]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Rebuild all of the mod_rewrite guide reorg
authorRich Bowen <rbowen@apache.org>
Mon, 11 May 2026 20:10:54 +0000 (20:10 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 11 May 2026 20:10:54 +0000 (20:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934124 13f79535-47bb-0310-9956-ffa450edef68

65 files changed:
docs/manual/rewrite/TODO.md
docs/manual/rewrite/avoid.html.en.utf8
docs/manual/rewrite/avoid.xml.de
docs/manual/rewrite/avoid.xml.es
docs/manual/rewrite/avoid.xml.fr
docs/manual/rewrite/avoid.xml.ja
docs/manual/rewrite/avoid.xml.ko
docs/manual/rewrite/avoid.xml.tr
docs/manual/rewrite/avoid.xml.zh-cn
docs/manual/rewrite/flags.html.en.utf8
docs/manual/rewrite/flags.xml.de
docs/manual/rewrite/flags.xml.es
docs/manual/rewrite/flags.xml.fr
docs/manual/rewrite/flags.xml.ja
docs/manual/rewrite/flags.xml.ko
docs/manual/rewrite/flags.xml.tr
docs/manual/rewrite/flags.xml.zh-cn
docs/manual/rewrite/index.html.en.utf8
docs/manual/rewrite/index.xml.de
docs/manual/rewrite/index.xml.es
docs/manual/rewrite/index.xml.fr
docs/manual/rewrite/index.xml.ja
docs/manual/rewrite/index.xml.ko
docs/manual/rewrite/index.xml.tr
docs/manual/rewrite/index.xml.zh-cn
docs/manual/rewrite/intro.html.en.utf8
docs/manual/rewrite/intro.xml.de
docs/manual/rewrite/intro.xml.es
docs/manual/rewrite/intro.xml.fr
docs/manual/rewrite/intro.xml.ja
docs/manual/rewrite/intro.xml.ko
docs/manual/rewrite/intro.xml.tr
docs/manual/rewrite/intro.xml.zh-cn
docs/manual/rewrite/remapping.html.en.utf8
docs/manual/rewrite/remapping.xml.de
docs/manual/rewrite/remapping.xml.es
docs/manual/rewrite/remapping.xml.fr
docs/manual/rewrite/remapping.xml.ja
docs/manual/rewrite/remapping.xml.ko
docs/manual/rewrite/remapping.xml.tr
docs/manual/rewrite/remapping.xml.zh-cn
docs/manual/rewrite/rewritemap.html.en.utf8
docs/manual/rewrite/rewritemap.xml.de
docs/manual/rewrite/rewritemap.xml.es
docs/manual/rewrite/rewritemap.xml.fr
docs/manual/rewrite/rewritemap.xml.ja
docs/manual/rewrite/rewritemap.xml.ko
docs/manual/rewrite/rewritemap.xml.tr
docs/manual/rewrite/rewritemap.xml.zh-cn
docs/manual/rewrite/tech.html.en.utf8
docs/manual/rewrite/tech.xml.de
docs/manual/rewrite/tech.xml.es
docs/manual/rewrite/tech.xml.fr
docs/manual/rewrite/tech.xml.ja
docs/manual/rewrite/tech.xml.ko
docs/manual/rewrite/tech.xml.tr
docs/manual/rewrite/tech.xml.zh-cn
docs/manual/rewrite/vhosts.html.en.utf8
docs/manual/rewrite/vhosts.xml.de
docs/manual/rewrite/vhosts.xml.es
docs/manual/rewrite/vhosts.xml.fr
docs/manual/rewrite/vhosts.xml.ja
docs/manual/rewrite/vhosts.xml.ko
docs/manual/rewrite/vhosts.xml.tr
docs/manual/rewrite/vhosts.xml.zh-cn

index 5ba3140a249a6bb5b94419070a82985ac2504538..57f75f9a2b03733f843d622fe214c0ef1cc9899d 100644 (file)
@@ -41,10 +41,10 @@ result in one file "owning" the content and others cross-referencing it.
       listed in other files' seealso despite being a major topic.
 
 - [ ] **Deprecated stub files** (access.xml, advanced.xml, proxy.xml) â€”
-      consider removal or ensure they don't appear in navigation.
+      Remove from trunk. Leave in 2.4 during sync (they'll drop in 2.6).
 
-- [ ] **Figure numbering collision** â€” both intro.xml and tech.xml use
-      "Figure 1" for different images.
+- [x] **Figure numbering collision** â€” both intro.xml and tech.xml use
+      "Figure 1" for different images. Not a problem â€” separate pages.
 
 ---
 
index a52851ef8dd10b2ffa9ea913811b78ccacc206de..ee0d528f4f981779014b71263936334c54d6e1cd 100644 (file)
@@ -70,7 +70,7 @@ files to work with, you may need to resort to
 <li><img alt="" src="../images/down.gif" /> <a href="#host-deny">Denying Hosts in a Reject List</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#vhosts">Virtual Hosting</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#load-balancing">Load Balancing</a></li>
-</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="rewritemap.html">Using RewriteMap</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
+</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="htaccess.html">Per-directory Rewrites</a></li><li><a href="flags.html">RewriteRule Flags</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="rewritemap.html">Using RewriteMap</a></li><li><a href="tech.html">Technical details</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="redirect" id="redirect">Simple Redirection</a> <a title="Permanent link" href="#redirect" class="permalink">&para;</a></h2>
@@ -106,31 +106,13 @@ and <code>/one/three/four.html</code>.</p>
 <a href="remapping.html#canonicalhost">Canonical Hostnames</a>
 recipe.</p>
 
-<p>To redirect <code>http</code> URLs to <code>https</code>, do the
-following:</p>
-
-<pre class="prettyprint lang-config">&lt;VirtualHost *:80&gt;
-    ServerName www.example.com
-    Redirect "/" "https://www.example.com/"
-&lt;/VirtualHost&gt;
-
-&lt;VirtualHost *:443&gt;
-    ServerName www.example.com
-    # ... SSL configuration goes here
-&lt;/VirtualHost&gt;</pre>
-
-
-<p>The use of <code>RewriteRule</code> to perform this task may be
-appropriate if there are other <code>RewriteRule</code> directives in
-the same scope. This is because, when there are <code>Redirect</code>
-and <code>RewriteRule</code> directives in the same scope, the
-<code>RewriteRule</code> directives will run first, regardless of the
-order of appearance in the configuration file.</p>
-
-<p>In the case of the <em>http-to-https</em> redirection, the use of
-<code>RewriteRule</code> would be appropriate if you don't have access
-to the main server configuration file, and are obliged to perform this
-task in a <code>.htaccess</code> file instead.</p>
+<p>To redirect <code>http</code> URLs to <code>https</code>, a
+<code class="directive"><a href="../mod/mod_alias.html#redirect">Redirect</a></code> in a dedicated
+HTTP virtual host is the cleanest approach. See the
+<a href="remapping.html#https-redirect">Forcing HTTPS</a> recipe for
+the recommended configuration and the
+<code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> alternative for <code>.htaccess</code>
+use.</p>
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
index 09a08c29d6ceb642f9d1f1fcdf80fe8d57589415..c9acc8cccf944e842bc34cf9efdc2a83c86c75a0 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 5e120ff5cb91203966f81f4ce7305863830c8929..1bed561760a973de56cc4618ae05c1609d076db7 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 561973a76e95ed6dfec212147ccfb5f2663f45dc..7a02fea7e40142cd2f1da94348dbd1991980a291 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index bcc7171014aaf826170f9f42d5dabe886758f4e6..c651a7e8047797cfccd8d2044994d065aff7a3dd 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index f0124d99775937ba1873f6f343ccb62c171e1b0e..055bd902218c7135eaa23fb33989096b7346cdc8 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 7f35ab32e424e88371f14fc1ae7d928e3b22db63..6fcb250e25d080d19e3293793a56a461c98516d7 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 7fc3f7f8b9bd6bf2e1aef38355030d555adaa2a7..c97ea251b894bceec3b2333c00e7ecf62a5c123f 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.zh-cn.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index a3d43508499abc30e62d410e72ca37910c5b612b..fb165cf8efa1799145d0ec4f5c6cd4f02a45d675 100644 (file)
@@ -66,7 +66,7 @@ providing detailed explanations and examples.</p>
 <li><img alt="" src="../images/down.gif" /> <a href="#flag_unsafe_allow_3f">UnsafeAllow3F</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#flag_unsafe_prefix_stat">UnsafePrefixStat</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#flag_unc">UNC</a></li>
-</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="rewritemap.html">Using RewriteMap</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
+</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="htaccess.html">Per-directory Rewrites</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="rewritemap.html">Using RewriteMap</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="tech.html">Technical details</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="introduction" id="introduction">Introduction</a> <a title="Permanent link" href="#introduction" class="permalink">&para;</a></h2>
@@ -631,10 +631,14 @@ to map remote content into the namespace of the local server.</p>
 <div class="warning">
 <h3>Security Warning</h3>
 <p>Take care when constructing the target URL of the rule, considering
-the security impact from allowing the client influence over the set of
-URLs to which your server will act as a proxy.  Ensure that the scheme
-and hostname part of the URL is either fixed, or does not allow the
-client undue influence.</p>
+the security impact of allowing the client influence over the set of
+URLs to which your server will act as a proxy. If any part of the
+target URL is derived from user input (backreferences, query strings,
+etc.), an attacker may be able to cause your server to make requests
+to arbitrary internal or external hosts. This is known as a
+Server-Side Request Forgery (SSRF) vulnerability. Ensure that the
+scheme and hostname part of the URL is either fixed, or does not allow
+the client undue influence.</p>
 </div>
 
 <div class="warning">
@@ -655,16 +659,6 @@ will be used automatically.</p>
 <p>Note: <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> must be enabled in order
 to use this flag.</p>
 
-<div class="warning"><h3>Security warning</h3>
-<p>Take care when constructing the target URL of the rule, considering
-the security impact of allowing the client influence over the set of
-URLs to which your server will act as a proxy. If any part of the
-target URL is derived from user input (backreferences, query strings,
-etc.), an attacker may be able to cause your server to make requests
-to arbitrary internal or external hosts. This is known as a
-Server-Side Request Forgery (SSRF) vulnerability.</p>
-</div>
-
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="flag_pt" id="flag_pt">PT|passthrough</a> <a title="Permanent link" href="#flag_pt" class="permalink">&para;</a></h2>
index fe8f15e69a27a8a597db7314df970259ec5c6a3d..59e15c3cf07320829876c4e53cc9f41eab1d57c9 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 1933062:1934106 (outdated) -->
+<!-- English Revision: 1933062:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index d3b7c87e27c8ed14866748933b5d8133a86cff39..16eb6db976b14baae0a65d75dd9d424b4cc14aea 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?>
-<!-- English Revision: 1933062:1934106 (outdated) -->
+<!-- English Revision: 1933062:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index a7f26b29f1715ed951060e9f4abc88a76b0728a5..2a956d3ec3e965242265c32fe6753d59fb7b9f16 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1933062:1934106 (outdated) -->
+<!-- English Revision: 1933062:1934122 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index a09ec42a1a6681d8d2e8754a70a8785dd60ee988..8c4def944e128bcc78b040ff33849aac59c947f9 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 1933062:1934106 (outdated) -->
+<!-- English Revision: 1933062:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 4c356396e1b62957315b24982cbcc606092768a6..ecb2a949e5783af1e29f7b7a8fe6315f139898f6 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 1933062:1934106 (outdated) -->
+<!-- English Revision: 1933062:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 7efbedf05b1a1c451001d727892648090e939940..0fdebc974d585a5c6f4e80bd015169c7752556d6 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1933062:1934106 (outdated) -->
+<!-- English Revision: 1933062:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 5924d51e67a975f63dc706b60ce5b08f2eddaed4..914fcf445151456c9f1b18498a328ce6cd0c011e 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.zh-cn.xsl"?>
-<!-- English Revision: 1933062:1934106 (outdated) -->
+<!-- English Revision: 1933062:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 7f9e557e257795cc721c1afe4498c6822e7920d9..7c49f7f673f2499c421ccbd79bba2fc6e103f4f8 100644 (file)
@@ -91,7 +91,7 @@ This document shows the alternatives and when to prefer them.</dd>
 and the order in which rules and conditions are evaluated.</dd>
 </dl>
 </div>
-<div id="quickview"><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">The Reference Manual</a></li><li><a href="../urlmapping.html">Mapping URLs to the Filesystem</a></li><li><a href="https://cwiki.apache.org/confluence/display/httpd/Rewrite">mod_rewrite
+<div id="quickview"><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">mod_rewrite Reference Documentation</a></li><li><a href="../urlmapping.html">Mapping URLs to the Filesystem</a></li><li><a href="https://cwiki.apache.org/confluence/display/httpd/Rewrite">mod_rewrite
 wiki</a></li><li><a href="../glossary.html">Glossary</a></li></ul></div>
 </div>
 <div class="bottomlang">
index 179ab71cdc776988fc23627979d23a1800cdefa2..e13f573296e937d4984bde9d527a2b766abc8198 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 1933438:1934109 (outdated) -->
+<!-- English Revision: 1933438:1934111 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index e6395982f568463a5ee031bdaef4de83b9c716d0..6f2cca7aad8e4c0d30f49d55cb2e907a302d9ea4 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?>
-<!-- English Revision: 1933438:1934109 (outdated) -->
+<!-- English Revision: 1933438:1934111 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 25928707362fd4a319187003942cc92d9c127212..9634fe298a0ed214fa87e162ac017b34d8be68d1 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1933438:1934109 (outdated) -->
+<!-- English Revision: 1933438:1934111 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 3b35b9472573fa006ae431aa56344748f713db64..c12b95559c52465f76ceb28232cbec4ad76f4d15 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 1933438:1934109 (outdated) -->
+<!-- English Revision: 1933438:1934111 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 163715a618015aac26651275a2ad2ef987f79ea7..79f85e4ada1a29ae55decd2a3016e8e93e7f6301 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 1933438:1934109 (outdated) -->
+<!-- English Revision: 1933438:1934111 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index c58615c57fb34d57e834e863c439df13751d5f0f..879f9e0c3e5f58d2f8e435fa7f4b070bc81944ce 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1933438:1934109 (outdated) -->
+<!-- English Revision: 1933438:1934111 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 295783b3222f634ae26999cd7b7e6faf62573cac..230ea56e0f0f97cc95ff71a3eada3498bda7691e 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.zh-cn.xsl"?>
-<!-- English Revision: 1933438:1934109 (outdated) -->
+<!-- English Revision: 1933438:1934111 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 126f14c290d814e1dc4adf3382198ea1092d4b06..0ecd6271bd6ff342132bb977fb341998c2b64741 100644 (file)
@@ -48,7 +48,7 @@ but this doc should help the beginner get their feet wet.
 <li><img alt="" src="../images/down.gif" /> <a href="#rewritemap">Rewrite maps</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#htaccess">.htaccess files</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#security">Security Considerations</a></li>
-</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="rewritemap.html">Using RewriteMap</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
+</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="htaccess.html">Per-directory Rewrites</a></li><li><a href="flags.html">RewriteRule Flags</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="rewritemap.html">Using RewriteMap</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="tech.html">Technical details</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="introduction" id="introduction">Introduction</a> <a title="Permanent link" href="#introduction" class="permalink">&para;</a></h2>
index d97b7b55ee82cd1ee934aa68a457d7666c954ce7..d548d3d7bddd50679919ea5a687e3ba611b27bf2 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 1933423:1934108 (outdated) -->
+<!-- English Revision: 1933423:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 7314b0dca4f63879c282e15aa920d4d87ad3a1e0..42932b0ed93954fd4884b204aac646f61af2a9be 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?>
-<!-- English Revision: 1933423:1934108 (outdated) -->
+<!-- English Revision: 1933423:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 703092850c92204ebee30cf988ebf8d956b7bf2a..1d9aee8a7cfc86e954346d8a51b4df54677199a0 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1933423:1934108 (outdated) -->
+<!-- English Revision: 1933423:1934122 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 06a7bc8b522d56a08777268f5317a130b3c2e23c..d2360a51f919b36ab02d37982611a0a7cb146193 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 1933423:1934108 (outdated) -->
+<!-- English Revision: 1933423:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 74114f178637c5ce143dbe8cd74d6c4fb7e4bedc..34032df36900490ff9ba3ef1cd84fba463e0cb21 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 1933423:1934108 (outdated) -->
+<!-- English Revision: 1933423:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index cef5ef751b7bc5cb3e2eb8aa49f96e67e3037aeb..0317eb9fef3dccab0ef6c5641d9ce1d10972f0b0 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1933423:1934108 (outdated) -->
+<!-- English Revision: 1933423:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index f661690544b21e20a2eae2d5f90fdc379b8379fe..88e3025e81ca12ee795069cc023ddfcb5ac33339 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.zh-cn.xsl"?>
-<!-- English Revision: 1933423:1934108 (outdated) -->
+<!-- English Revision: 1933423:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index e31b587ea43bda00025a69659df5df84b5e9bac4..52ca8024e99a60e05d325bd57168ca9e10aca7b7 100644 (file)
@@ -44,7 +44,6 @@ including detailed descriptions of how each works.</p>
 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#old-to-new">From Old to New (internal)</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#https-redirect">Forcing HTTPS</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#trailing-slash">Trailing Slash Normalization</a></li>
-<li><img alt="" src="../images/down.gif" /> <a href="#www-resolve">Canonical www/non-www Hostname</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#front-controller">Front Controller / Application Routing</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#old-to-new-extern">Rewriting From Old to New (external)</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#movehomedirs">Resource Moved to Another Server</a></li>
@@ -58,7 +57,7 @@ including detailed descriptions of how each works.</p>
 <li><img alt="" src="../images/down.gif" /> <a href="#redirectanchors">Redirecting Anchors</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#time-dependent">Time-Dependent Rewriting</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#on-the-fly-content">On-the-fly Content-Regeneration</a></li>
-</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="rewritemap.html">Using RewriteMap</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
+</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="htaccess.html">Per-directory Rewrites</a></li><li><a href="flags.html">RewriteRule Flags</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="rewritemap.html">Using RewriteMap</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="tech.html">Technical details</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="old-to-new" id="old-to-new">From Old to New (internal)</a> <a title="Permanent link" href="#old-to-new" class="permalink">&para;</a></h2>
@@ -197,62 +196,6 @@ RewriteRule "^" "%1" [R=301,L]</pre>
     </dd>
   </dl>
 
-</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
-<div class="section">
-<h2><a name="www-resolve" id="www-resolve">Canonical www/non-www Hostname</a> <a title="Permanent link" href="#www-resolve" class="permalink">&para;</a></h2>
-
-  
-
-  <dl>
-    <dt>Description:</dt>
-
-    <dd>
-      <p>You want to force all requests to use either
-      <code>www.example.com</code> or <code>example.com</code>,
-      not both. This ensures search engines treat them as one site
-      and prevents cookie scope issues.</p>
-    </dd>
-
-    <dt>Solution:</dt>
-
-    <dd>
-      <p>The best approach does not use <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> at
-      all. Place a <code class="directive"><a href="../mod/mod_alias.html#redirect">Redirect</a></code>
-      in the virtual host for the non-canonical hostname:</p>
-
-<pre class="prettyprint lang-config"># Redirect example.com -&gt; www.example.com
-&lt;VirtualHost *:80 *:443&gt;
-    ServerName example.com
-    Redirect permanent "/" "https://www.example.com/"
-&lt;/VirtualHost&gt;</pre>
-
-
-      <p>If you only have <code>.htaccess</code> access:</p>
-
-<pre class="prettyprint lang-config"># Add www
-RewriteEngine On
-RewriteCond "%{HTTP_HOST}" "!^www\." [NC]
-RewriteRule "^(.*)" "https://www.%{HTTP_HOST}$1" [R=301,L]</pre>
-
-
-<pre class="prettyprint lang-config"># Remove www
-RewriteEngine On
-RewriteCond "%{HTTP_HOST}" "^www\.(.+)$" [NC]
-RewriteRule "^(.*)" "https://%1$1" [R=301,L]</pre>
-
-
-    </dd>
-
-    <dt>Discussion:</dt>
-
-    <dd>
-      <p>See also the <a href="#canonicalhost">Canonical Hostnames</a>
-      recipe above, which covers the general case. This recipe focuses
-      specifically on the www/non-www choice, which is the most common
-      hostname canonicalization need.</p>
-    </dd>
-  </dl>
-
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="front-controller" id="front-controller">Front Controller / Application Routing</a> <a title="Permanent link" href="#front-controller" class="permalink">&para;</a></h2>
@@ -495,6 +438,15 @@ RewriteRule "^/?(.*)"        "http://www.example.com/$1" [L,R,NE]</pre>
         <strong>example.com</strong>, you could use the following
         recipe:</p>
 
+<p>To do the reverse - strip the <code>www.</code> prefix - swap the
+condition:</p>
+
+<pre class="prettyprint lang-config">RewriteCond "%{HTTP_HOST}" "^www\.(.+)$"              [NC]
+RewriteRule "^(.*)"        "http://%1/$1"             [L,R,NE]</pre>
+
+
+<p>To generically add <code>www.</code> to any hostname:</p>
+
 <pre class="prettyprint lang-config">RewriteCond "%{HTTP_HOST}" "!^www\."                    [NC]
 RewriteCond "%{HTTP_HOST}" "!^$"
 RewriteRule "^/?(.*)"      "http://www.%{HTTP_HOST}/$1" [L,R,NE]</pre>
@@ -510,7 +462,11 @@ RewriteRule "^/?(.*)"      "http://www.%{HTTP_HOST}/$1" [L,R,NE]</pre>
       <p>If you have access to the server configuration, a
       <code class="directive"><a href="../mod/mod_alias.html#redirect">Redirect</a></code> in a dedicated
       <code class="directive"><a href="../mod/core.html#virtualhost">&lt;VirtualHost&gt;</a></code>
-      is the cleanest approach. Use the
+      is the cleanest approach. Canonicalizing the hostname ensures that
+      search engines treat your site as a single entity and avoids
+      cookie scope issues that arise when the same site is reachable
+      under multiple names.</p>
+      <p>Use the
       <code class="directive"><a href="../mod/core.html#if">&lt;If&gt;</a></code> directive
       as a middle ground, and <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> only if you
       are limited to <code>.htaccess</code>.</p>
index 246315b1d3ab910be060ea167b3a33fbc9bb9791..9a01e545e9fe1508fcb75d971b7d32a2b3753401 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 1933068:1934084 (outdated) -->
+<!-- English Revision: 1933068:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index f03269f987f4ebd3689a6369790bc50e68f48b5a..74a04de8fe26cf0005c8cfe040e67da59a30bb01 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?>
-<!-- English Revision: 1933068:1934084 (outdated) -->
+<!-- English Revision: 1933068:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 53c964426ef80e20ccd9bf24f3fb89459c430101..f2648bd217b355b6226b7ea123c2b7ce4081d5be 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1933068:1934084 (outdated) -->
+<!-- English Revision: 1933068:1934122 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index f192a2b30e5c27e28b9d3e66c0693bd556660cd9..dcd8a3f60f0044ed4951ac6dc2df7d9f27bbe22c 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 1933068:1934084 (outdated) -->
+<!-- English Revision: 1933068:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 3ac8ef3107604bb8ca4806f89378956351e9f241..cfd48bc042667e01311c29c8c9c472150d5564eb 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 1933068:1934084 (outdated) -->
+<!-- English Revision: 1933068:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 7d0bde8c6585a8ea292572a593e00786474515de..6a4e49c50d14771e43f1b989f80a5a39134dd0bc 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1933068:1934084 (outdated) -->
+<!-- English Revision: 1933068:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 472d1f58e704aa775f1ec927b4f849f34d260402..88924d8200b4c7f5ee8500fadf22c5599bbe1fe2 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.zh-cn.xsl"?>
-<!-- English Revision: 1933068:1934084 (outdated) -->
+<!-- English Revision: 1933068:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index f064759ddf430c4e475ce0616f38f4424ff20408..a4ab7bca1f5cbf48ab161abbc53fad698803de24 100644 (file)
@@ -49,7 +49,7 @@ and provides examples of each of the various <code class="directive"><a href="..
 <li><img alt="" src="../images/down.gif" /> <a href="#dbd">dbd or fastdbd: SQL Query</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#sharding">URL-based sharding across multiple backends</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#summary">Summary</a></li>
-</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="htaccess.html">Per-directory Rewrites</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
+</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="flags.html">RewriteRule Flags</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="htaccess.html">Per-directory Rewrites</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="tech.html">Technical details</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="introduction" id="introduction">Introduction</a> <a title="Permanent link" href="#introduction" class="permalink">&para;</a></h2>
index 4300c933699319a0e90235cdf4ba3998e467e5ed..b056890733960bb0827fb0aafb4801a868cdfcec 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 1932819:1934098 (outdated) -->
+<!-- English Revision: 1932819:1934122 (outdated) -->
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
index 292e262683296dd1da721c2919292b480fceb5c2..d315154e1b3af51afe47cf1b262281ab229d3097 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?>
-<!-- English Revision: 1932819:1934098 (outdated) -->
+<!-- English Revision: 1932819:1934122 (outdated) -->
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
index 286cb66b16de8baa17c006149bdd1151e40105d9..54babf53fe6ebc426b82696ce0fe9319f827aa30 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1932819:1934098 (outdated) -->
+<!-- English Revision: 1932819:1934122 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index a4656191a51b700ca3c9729a7edac32c4621bbc3..74adafdef956b7466ea1023549f3b08721d66e1d 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 1932819:1934098 (outdated) -->
+<!-- English Revision: 1932819:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index a40f744c840df60c9d1c93146997414f07cd3b56..1ae03347c9d4355a2895cd593fd439d73a7e0a7e 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 1932819:1934098 (outdated) -->
+<!-- English Revision: 1932819:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 2d0b4918073fdbec460aa75da88fe162734a0401..92e2ee081bf0d1079e5d9a6e4aef581f23640216 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1932819:1934098 (outdated) -->
+<!-- English Revision: 1932819:1934122 (outdated) -->
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
index 00aca550f4124dbebf72144c157e9e6e7a7de753..b619073c2fad69aad39775af3fbf393fe482045b 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.zh-cn.xsl"?>
-<!-- English Revision: 1932819:1934098 (outdated) -->
+<!-- English Revision: 1932819:1934122 (outdated) -->
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
index 8ae319b91a7c3e156bb42360dcdf97ea9503674d..d7f939f436191205a4d46aa3b352a6a0f93b122f 100644 (file)
@@ -38,7 +38,7 @@ and URL matching.</p>
 </div>
 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#InternalAPI">API Phases</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#InternalRuleset">Ruleset Processing</a></li>
-</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="rewritemap.html">Using RewriteMap</a></li><li><a href="htaccess.html">Per-directory Rewrites</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
+</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="flags.html">RewriteRule Flags</a></li><li><a href="vhosts.html">Virtual hosts</a></li><li><a href="rewritemap.html">Using RewriteMap</a></li><li><a href="htaccess.html">Per-directory Rewrites</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="InternalAPI" id="InternalAPI">API Phases</a> <a title="Permanent link" href="#InternalAPI" class="permalink">&para;</a></h2>
index afc812904aa727660207b3956b7ee277f7f81b94..8340900b4503a46c642c1c3b82b1f402251b90fd 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 1933438:1934108 (outdated) -->
+<!-- English Revision: 1933438:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index b9d0bcdf04fd83c6c1ec50805a74f66b75fa7e06..fad8fdcf6a0cca5f88d10f26b86d2c74ed0f05d6 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?>
-<!-- English Revision: 1933438:1934108 (outdated) -->
+<!-- English Revision: 1933438:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index a5dd91a27092d3120079e72347f0d64211efddfe..fe2bd192fef67db850a002450c07f0ac956c202b 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1933438:1934108 (outdated) -->
+<!-- English Revision: 1933438:1934122 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index b00ee4da247f4a430b6138aec38e4e1780546d2c..5af254104f8103c43dc7c241a99eb2dd2f951a5a 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 1933438:1934108 (outdated) -->
+<!-- English Revision: 1933438:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index e65084d939e0d202b6a961682df0ac575f5a5ad4..68318f3c98fd0445192f94ca39ebe05d05b5008e 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 1933438:1934108 (outdated) -->
+<!-- English Revision: 1933438:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 3ec29423c908bc3d0e21a1c131642571660cd796..b78f0997936156bb021ed405dca4d95e8c0441be 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1933438:1934108 (outdated) -->
+<!-- English Revision: 1933438:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 68d5ec00a50e6b2b6a717bf3cf275ffc5685b478..13ae13e3a6a6f80f4fd832350d8de1bcbc8d7cd7 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.zh-cn.xsl"?>
-<!-- English Revision: 1933438:1934108 (outdated) -->
+<!-- English Revision: 1933438:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index e7d43db60c0a069def51639728dfdcd4716efd60..cc530c863880a569c958d945f7cb03a20d1938e2 100644 (file)
@@ -49,7 +49,7 @@ mod_rewrite</a> document.</div>
 <li><img alt="" src="../images/down.gif" /> <a href="#simple.rewrite">Dynamic
     Virtual Hosts Using <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code></a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#xtra-conf">Using a Separate Virtual Host Configuration File</a></li>
-</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="rewritemap.html">RewriteMap</a></li><li><a href="htaccess.html">Per-directory Rewrites</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
+</ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module documentation</a></li><li><a href="intro.html">mod_rewrite introduction</a></li><li><a href="remapping.html">Redirection and remapping</a></li><li><a href="htaccess.html">Per-directory Rewrites</a></li><li><a href="flags.html">RewriteRule Flags</a></li><li><a href="rewritemap.html">RewriteMap</a></li><li><a href="avoid.html">When not to use mod_rewrite</a></li><li><a href="tech.html">Technical details</a></li><li><a href="#comments_section">Comments</a></li></ul></div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="per-hostname" id="per-hostname">Virtual Hosts For Arbitrary Hostnames</a> <a title="Permanent link" href="#per-hostname" class="permalink">&para;</a></h2>
index c331ca1ebe98b909f963ab153c819d288f07fdb8..4bae3aae8e332d93f4d55a374abd46ec353d52c2 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 6761ce30c8cc934a2ca2c24c752a13a7fef6a845..51286c7ef1a9bee412edbb9f4942d628a1eaff91 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 241bd1792cdfe6704e8507588dd1548d941debd7..ca0151f3827e48758bb98d6336afd64ecd3fdfa6 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 9de2e1e444c2e3845ba3eadcdfce240459ece2c9..a2b40d0b0375f342d74f19430de39d080352ee6b 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 2248bed15adbaae42ebfd5b5c03b38dd8b409891..feebdfabc68e3aa750021c184c1576c7209a832a 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 4109a56f7051d6b7351e3f1e20dec3c7a733003f..d78a2c79b20d59c373c98bdfd0a97cb49de41ccd 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index dba1d15d7dd88a0fb984bd70e48b320a5adc80ca..06afa06520f3b1e0515571cc69992aeceab3c3bf 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.zh-cn.xsl"?>
-<!-- English Revision: 1933071:1934098 (outdated) -->
+<!-- English Revision: 1933071:1934122 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more