You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2004/02/19 01:32:00 UTC

cvs commit: httpd-docs-1.3/htdocs/manual/mod mod_autoindex.html

rbowen      2004/02/18 16:32:00

  Modified:    htdocs/manual/mod mod_autoindex.html
  Log:
  Trying to de-emphasize the "it used to work that way" part of this
  document, and emphasize the "this is the way it works now" bit, after
  yet another discussion on IRC where someone read the first paragraph and
  stopped reading.
  
  Revision  Changes    Path
  1.55      +19 -21    httpd-docs-1.3/htdocs/manual/mod/mod_autoindex.html
  
  Index: mod_autoindex.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/mod_autoindex.html,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- mod_autoindex.html	7 Nov 2003 01:01:32 -0000	1.54
  +++ mod_autoindex.html	19 Feb 2004 00:32:00 -0000	1.55
  @@ -472,26 +472,7 @@
       be inserted at the top of the index listing. <em>Filename</em>
       is the name of the file to include.</p>
   
  -    <blockquote>
  -      <strong>Apache 1.3.6 and earlier:</strong> The module first
  -      attempts to include <em>filename</em><code>.html</code> as an
  -      HTML document, otherwise it will try to include
  -      <em>filename</em> as plain text. <em>Filename</em> is treated
  -      as a filesystem path relative to the directory being indexed.
  -      In no case is SSI processing done. Example: 
  -
  -      <blockquote>
  -        <code>HeaderName HEADER</code>
  -      </blockquote>
  -      when indexing the directory <code>/web</code>, the server
  -      will first look for the HTML file
  -      <code>/web/HEADER.html</code> and include it if found,
  -      otherwise it will include the plain text file
  -      <code>/web/HEADER</code>, if it exists.
  -    </blockquote>
  -
  -    <blockquote>
  -      <p><strong>Apache versions after 1.3.6:</strong>
  +      <p>
         <em>Filename</em> is treated as a URI path relative to the
         one used to access the directory being indexed. Note that this
         means that if <em>Filename</em> starts with a slash, it will be
  @@ -518,7 +499,6 @@
         be processed for server-side includes (see the <a
         href="mod_include.html"><samp>mod_include</samp></a>
         documentation).
  -    </blockquote>
   
       <p>If the file specified by <samp>HeaderName</samp> contains
       the beginnings of an HTML document (&lt;HTML&gt;, &lt;HEAD&gt;,
  @@ -526,6 +506,24 @@
       href="#indexoptions:suppresshtmlpreamble"><samp>IndexOptions
       +SuppressHTMLPreamble</samp></a>, so that these tags are not
       repeated.</p>
  +
  +    <blockquote>
  +      <strong>Apache 1.3.6 and earlier:</strong> The module first
  +      attempts to include <em>filename</em><code>.html</code> as an
  +      HTML document, otherwise it will try to include
  +      <em>filename</em> as plain text. <em>Filename</em> is treated
  +      as a filesystem path relative to the directory being indexed.
  +      In no case is SSI processing done. Example: 
  +
  +      <blockquote>
  +        <code>HeaderName HEADER</code>
  +      </blockquote>
  +      when indexing the directory <code>/web</code>, the server
  +      will first look for the HTML file
  +      <code>/web/HEADER.html</code> and include it if found,
  +      otherwise it will include the plain text file
  +      <code>/web/HEADER</code>, if it exists.
  +    </blockquote>
   
       <p>See also <a href="#readmename">ReadmeName</a>.</p>
       <hr />