]> granicus.if.org Git - apache/commitdiff
- fix context info of ModMimeUsePathInfo (ACCESS_CONF)
authorAndré Malo <nd@apache.org>
Fri, 18 Oct 2002 01:32:27 +0000 (01:32 +0000)
committerAndré Malo <nd@apache.org>
Fri, 18 Oct 2002 01:32:27 +0000 (01:32 +0000)
- improve markup
- fix some typos
- update the transformation (in that order ;-)

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

docs/manual/mod/mod_mime.html.en
docs/manual/mod/mod_mime.xml
docs/manual/mod/quickreference.html.en

index 0fa5d5f1dfea4ab7e5ba519a045de32c0dc727b4..17b06494cccab7376ec922c665e79918615c56ab 100644 (file)
@@ -37,7 +37,7 @@
     <p>While <code class="module"><a href="../mod/mod_mime.html">mod_mime</a></code> associates meta-information
     with filename extensions, the <code class="module"><a href="../mod/core.html">core</a></code> server
     provides directives that are used to associate all the files in a
-    given container (<em>e.g.</em>, <code class="directive"><a href="../mod/core.html#location">&lt;location&gt;</a></code>, <code class="directive"><a href="../mod/core.html#directory">&lt;directory&gt;</a></code>, or <code class="directive"><a href="../mod/core.html#files">&lt;Files&gt;</a></code>) with particular
+    given container (<em>e.g.</em>, <code class="directive"><a href="../mod/core.html#location">&lt;Location&gt;</a></code>, <code class="directive"><a href="../mod/core.html#directory">&lt;Directory&gt;</a></code>, or <code class="directive"><a href="../mod/core.html#files">&lt;Files&gt;</a></code>) with particular
     meta-information. These directives include <code class="directive"><a href="../mod/core.html#forcetype">ForceType</a></code>, <code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code>, <code class="directive"><a href="../mod/core.html#setinputfilter">SetInputFilter</a></code>, and <code class="directive"><a href="../mod/core.html#setoutputfilter">SetOutputFilter</a></code>.  The core directives
     override any filename extension mappings defined in
     <code class="module"><a href="../mod/mod_mime.html">mod_mime</a></code>.</p>
@@ -68,7 +68,7 @@
 <li><img alt="" src="../images/down.gif" /> <a href="#removeoutputfilter">RemoveOutputFilter</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#removetype">RemoveType</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#typesconfig">TypesConfig</a></li>
-</ul><h3>Topics</h3><ul id="topics"><li><img alt="" src="../images/down.gif" /> <a href="#multipleext">Files with Multiple Extensions</a></li><li><img alt="" src="../images/down.gif" /> <a href="#contentencoding">Content encoding</a></li><li><img alt="" src="../images/down.gif" /> Character sets and languages</li></ul><h3>See also</h3><ul class="seealso"><li><code class="directive"><a href="../mod/mod_mime_magic.html#mimemagicfile">MimeMagicFile</a></code></li><li><code class="directive"><a href="../mod/core.html#adddefaultcharset">AddDefaultCharset</a></code></li><li><code class="directive"><a href="../mod/core.html#forcetype">ForceType</a></code></li><li><code class="directive"><a href="../mod/core.html#defaulttype">DefaultType</a></code></li><li><code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code></li><li><code class="directive"><a href="../mod/core.html#setinputfilter">SetInputFilter</a></code></li><li><code class="directive"><a href="../mod/core.html#setoutputfilter">SetOutputFilter</a></code></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="multipleext" id="multipleext">Files with Multiple Extensions</a></h2>
+</ul><h3>Topics</h3><ul id="topics"><li><img alt="" src="../images/down.gif" /> <a href="#multipleext">Files with Multiple Extensions</a></li><li><img alt="" src="../images/down.gif" /> <a href="#contentencoding">Content encoding</a></li><li><img alt="" src="../images/down.gif" /> <a href="#charset-lang">Character sets and languages</a></li></ul><h3>See also</h3><ul class="seealso"><li><code class="directive"><a href="../mod/mod_mime_magic.html#mimemagicfile">MimeMagicFile</a></code></li><li><code class="directive"><a href="../mod/core.html#adddefaultcharset">AddDefaultCharset</a></code></li><li><code class="directive"><a href="../mod/core.html#forcetype">ForceType</a></code></li><li><code class="directive"><a href="../mod/core.html#defaulttype">DefaultType</a></code></li><li><code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code></li><li><code class="directive"><a href="../mod/core.html#setinputfilter">SetInputFilter</a></code></li><li><code class="directive"><a href="../mod/core.html#setoutputfilter">SetOutputFilter</a></code></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="multipleext" id="multipleext">Files with Multiple Extensions</a></h2>
 
 
     <p>Files can have more than one extension, and the order of the
 
     <div class="example"><p><code>Content-encoding: pkzip</code></p></div>
 
-</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2>Character sets and languages</h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="charset-lang" id="charset-lang">Character sets and languages</a></h2>
 
 
 
@@ -474,33 +474,28 @@ DefaultLanguage en
 <h3>See also</h3><ul><li><code class="module"><a href="../mod/mod_negotiation.html">mod_negotiation</a></code></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="ModMimeUsePathInfo" id="ModMimeUsePathInfo">ModMimeUsePathInfo</a> <a name="modmimeusepathinfo" id="modmimeusepathinfo">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description: 
               </a></th><td>Tells mod_mime to treat path_info components as part of the filename</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
               </a></th><td><code>ModMimeUsePathInfo On|Off</code></td></tr><tr><th><a href="directive-dict.html#Context">Context:
-              </a></th><td>server config, virtual host, directory, .htaccess</td></tr><tr><th><a href="directive-dict.html#Override">Override:
-              </a></th><td>FileInfo</td></tr><tr><th><a href="directive-dict.html#Status">Status:
+              </a></th><td>directory</td></tr><tr><th><a href="directive-dict.html#Status">Status:
               </a></th><td>Base</td></tr><tr><th><a href="directive-dict.html#Module">Module:
               </a></th><td>mod_mime</td></tr><tr><th><a href="directive-dict.html#Compatibility">Compatibility:
               </a></th><td>Available in Apache 2.0.41 and later</td></tr></table>
+    <p>The <code class="directive">ModMimeUsePathInfo</code> directive is used to
+    combine the filename with the path_info URL component to apply
+    <code class="module"><a href="../mod/mod_mime.html">mod_mime</a></code>'s directives to the request.  The default
+    value is <code>Off</code> - therefore, the path_info component is
+    ignored.</p>
 
-  <p>The ModMimeUsePathInfo directive is used to combine the filename with
-     the path_info URL component to apply mod_mime's directives to the
-     request.  The default value is 'Off' - therefore, the path_info
-     component is ignored.
-  </p>
-
-  <p>This directive is recommended when you have a virtual filesystem.</p>
-
-<div class="example"><h3>Example</h3><p><code>
+    <p>This directive is recommended when you have a virtual filesystem.</p>
 
-ModMimeUsePathInfo On
-</code></p></div>
-
-  <p>If you have a request for /bar/foo.shtml where /bar is a Location and
-     ModMimeUsePathInfo is on, mod_mime will treat the incoming request as
-     /bar/foo.shtml and directives like
-     <code>AddOutputFilter INCLUDES .shtml</code> will add the INCLUDES
-     filter to the request.  If ModMimeUsePathInfo is not set, the includes
-     filter will not be added.
-  </p>
+    <div class="example"><h3>Example</h3><p><code>
+      ModMimeUsePathInfo On
+    </code></p></div>
 
+    <p>If you have a request for <code>/bar/foo.shtml</code> where
+    <code>/bar</code> is a Location and <code class="directive">ModMimeUsePathInfo</code> is on, <code class="module"><a href="../mod/mod_mime.html">mod_mime</a></code> will
+    treat the incoming request as <code>/bar/foo.shtml</code> and
+    directives like <code>AddOutputFilter INCLUDES .shtml</code> will add
+    the INCLUDES filter to the request. If <code class="directive">ModMimeUsePathInfo</code> is not set, the INCLUDES filter will
+    not be added.</p>
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="MultiviewsMatch" id="MultiviewsMatch">MultiviewsMatch</a> <a name="multiviewsmatch" id="multiviewsmatch">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description: 
               </a></th><td>The types of files that will be included when 
 searching for a matching file with MultiViews</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
index 887b9811ad3dcb15a0889c698da6a201f47b4d38..9b18fb6a87892bfec2027bbe9fc1638084e4f8c2 100644 (file)
@@ -50,8 +50,8 @@
     with filename extensions, the <module>core</module> server
     provides directives that are used to associate all the files in a
     given container (<em>e.g.</em>, <directive type="section"
-    module="core">location</directive>, <directive type="section"
-    module="core">directory</directive>, or <directive type="section"
+    module="core">Location</directive>, <directive type="section"
+    module="core">Directory</directive>, or <directive type="section"
     module="core">Files</directive>) with particular
     meta-information. These directives include <directive
     module="core">ForceType</directive>, <directive
 
 </section>
 
-<section>
+<section id="charset-lang">
 
 <title>Character sets and languages</title>
 
@@ -640,37 +640,31 @@ DefaultLanguage en
 <description>Tells mod_mime to treat path_info components as part of the filename</description>
 <syntax>ModMimeUsePathInfo On|Off</syntax>
 <contextlist>
-<context>server config</context>
-<context>virtual host</context>
 <context>directory</context>
-<context>.htaccess</context>
 </contextlist>
-<override>FileInfo</override>
 <compatibility>Available in Apache 2.0.41 and later</compatibility>
 
 <usage>
+    <p>The <directive>ModMimeUsePathInfo</directive> directive is used to
+    combine the filename with the path_info URL component to apply
+    <module>mod_mime</module>'s directives to the request.  The default
+    value is <code>Off</code> - therefore, the path_info component is
+    ignored.</p>
 
-  <p>The ModMimeUsePathInfo directive is used to combine the filename with
-     the path_info URL component to apply mod_mime's directives to the
-     request.  The default value is 'Off' - therefore, the path_info
-     component is ignored.
-  </p>
-
-  <p>This directive is recommended when you have a virtual filesystem.</p>
+    <p>This directive is recommended when you have a virtual filesystem.</p>
 
-<example>
-<title>Example</title>
-ModMimeUsePathInfo On
-</example>
-
-  <p>If you have a request for /bar/foo.shtml where /bar is a Location and
-     ModMimeUsePathInfo is on, mod_mime will treat the incoming request as
-     /bar/foo.shtml and directives like
-     <code>AddOutputFilter INCLUDES .shtml</code> will add the INCLUDES
-     filter to the request.  If ModMimeUsePathInfo is not set, the includes
-     filter will not be added.
-  </p>
+    <example><title>Example</title>
+      ModMimeUsePathInfo On
+    </example>
 
+    <p>If you have a request for <code>/bar/foo.shtml</code> where
+    <code>/bar</code> is a Location and <directive
+    >ModMimeUsePathInfo</directive> is on, <module>mod_mime</module> will
+    treat the incoming request as <code>/bar/foo.shtml</code> and
+    directives like <code>AddOutputFilter INCLUDES .shtml</code> will add
+    the INCLUDES filter to the request. If <directive
+    >ModMimeUsePathInfo</directive> is not set, the INCLUDES filter will
+    not be added.</p>
 </usage>
 </directivesynopsis>
 
index 61d14d7b931524fcf0a8279ddb54c2d4edcdc48e..2378e271bd86c9b478631385729565efa3f146a2 100644 (file)
@@ -368,7 +368,7 @@ using the specified magic file</td></tr>
 <tr class="odd"><td><a href="mpm_common.html#minsparethreads">MinSpareServers <em>number</em></a></td><td /><td>s</td><td>M</td></tr><tr class="odd"><td class="descr" colspan="4">Minimum number of idle threads available to handle request
 spikes</td></tr>
 <tr><td><a href="mod_file_cache.html#mmapfile">MMapFile <em>file-path</em> [<em>file-path</em>] ...</a></td><td /><td>s</td><td>X</td></tr><tr><td class="descr" colspan="4">-</td></tr>
-<tr class="odd"><td><a href="mod_mime.html#modmimeusepathinfo">ModMimeUsePathInfo On|Off</a></td><td /><td>svdh</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Tells mod_mime to treat path_info components as part of the filename</td></tr>
+<tr class="odd"><td><a href="mod_mime.html#modmimeusepathinfo">ModMimeUsePathInfo On|Off</a></td><td /><td>d</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Tells mod_mime to treat path_info components as part of the filename</td></tr>
 <tr><td><a href="mod_mime.html#multiviewsmatch">MultiviewsMatch
     <em>[NegotiatedOnly] [Handlers] [Filters] [Any]</em></a></td><td /><td>svdh</td><td>B</td></tr><tr><td class="descr" colspan="4">The types of files that will be included when 
 searching for a matching file with MultiViews</td></tr>