]> granicus.if.org Git - apache/commitdiff
PR 55447: Elaborate on how a type map foo.html.var can be found when
authorEric Covener <covener@apache.org>
Mon, 19 Aug 2013 00:28:27 +0000 (00:28 +0000)
committerEric Covener <covener@apache.org>
Mon, 19 Aug 2013 00:28:27 +0000 (00:28 +0000)
requesting foo.html (this was automatic in 1.3)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1515245 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_negotiation.html.en
docs/manual/mod/mod_negotiation.xml

index 3f6ad84cd5d8933c975c7beb70520e42b2a40e4b..7fb2791efdfaacb3c4521774c8d9d459a13e2e60 100644 (file)
@@ -197,11 +197,18 @@ Negotiation</a></li>
     </pre>
 
 
-    <p>A request for <code>document.html</code> in this directory will
-    result in <code>document.html.var</code> being consulted, and the
-    variant chosen which most closely matches the language preference
+    <p>A request for <code>document.html.var</code> in this directory will
+    result in choosing the variant which most closely matches the language preference
     specified in the user's <code>Accept-Language</code> request
     header.</p>
+
+    <p>If <code>Multiviews</code> is enabled, and <code class="directive"><a href="../mod/mod_mime.html#multiviewsmatch">MultiviewsMatch</a></code> is set to "handlers" or "any",  a request to
+    <code>document.html</code> will discover <code>document.html.var</code> and
+    continue negotiating with the explicit type map.</p>
+
+    <p>Other configuration directives, such as <code class="directive"><a href="../mod/mod_alias.html#alias">Alias</a></code> can be used to map <code>document.html</code> to
+    <code>document.html.var</code></p>.
+
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="multiviews" id="multiviews">Multiviews</a></h2>
index e7109bfe948b5c898bf6060c08062c0372a4f1a0..87b63710167fe6b8a844099331b32591dcd55526 100644 (file)
@@ -181,11 +181,20 @@ Negotiation</a></seealso>
     AddHandler type-map .var
     </highlight>
 
-    <p>A request for <code>document.html</code> in this directory will
-    result in <code>document.html.var</code> being consulted, and the
-    variant chosen which most closely matches the language preference
+    <p>A request for <code>document.html.var</code> in this directory will
+    result in choosing the variant which most closely matches the language preference
     specified in the user's <code>Accept-Language</code> request
     header.</p>
+
+    <p>If <code>Multiviews</code> is enabled, and <directive module="mod_mime"
+    >MultiviewsMatch</directive> is set to "handlers" or "any",  a request to
+    <code>document.html</code> will discover <code>document.html.var</code> and
+    continue negotiating with the explicit type map.</p>
+
+    <p>Other configuration directives, such as <directive module="mod_alias"
+    >Alias</directive> can be used to map <code>document.html</code> to
+    <code>document.html.var</code></p>.
+
 </section>
 
 <section id="multiviews"><title>Multiviews</title>