httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject cvs commit: httpd-2.0/docs/manual/mod mod_autoindex.html.en mod_autoindex.xml
Date Mon, 28 Oct 2002 01:27:24 GMT
rbowen      2002/10/27 17:27:24

  Modified:    docs/manual/mod mod_autoindex.html.en mod_autoindex.xml
  Log:
  It seems that a lot of people get confused about where they can put
  header and footer files, and assume that they *must* be in the same
  directory as that being indexed. Just being a little more explicit on
  this point, as it seems to come up very frequently.
  
  Revision  Changes    Path
  1.18      +19 -5     httpd-2.0/docs/manual/mod/mod_autoindex.html.en
  
  Index: mod_autoindex.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_autoindex.html.en,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- mod_autoindex.html.en	7 Oct 2002 15:23:01 -0000	1.17
  +++ mod_autoindex.html.en	28 Oct 2002 01:27:24 -0000	1.18
  @@ -353,14 +353,21 @@
       of the file that will be inserted at the top of the index
       listing. <em>Filename</em> is the name of the file to include.</p>
   
  -<div class="example"><h3>Example</h3><p><code>
  -HeaderName HEADER.html
  -</code></p></div>
  +    <div class="example"><h3>Example</h3><p><code>
  +    HeaderName HEADER.html
  +    </code></p></div>
   
   <div class="note">
         <p>Both HeaderName and <code class="directive"><a href="#readmename">ReadmeName</a></code>
now treat
         <em>Filename</em> as a URI path relative to the one used to
  -      access the directory being indexed. <em>Filename</em> must
  +      access the directory being indexed. If <em>Filename</em> begins
  +      with a slash, it will be taken to be relative to the <code class="directive"><a
href="../mod/core.html#documentroot">DocumentRoot</a></code>.</p>
  +
  +      <div class="example"><h3>Example</h3><p><code>
  +      HeaderName /include/HEADER.html
  +      </code></p></div>
  +      
  +      <p><em>Filename</em> must
         resolve to a document with a major content type of
         "<code>text/*</code>" (<em>e.g.</em>, <code>text/html</code>,
         <code>text/plain</code>, <em>etc.</em>). This means that
  @@ -731,10 +738,17 @@
       <p>The <code class="directive">ReadmeName</code> directive sets the
name
       of the file that will be appended to the end of the index
       listing. <em>Filename</em> is the name of the file to include, and
  -    is taken to be relative to the location being indexed.</p>
  +    is taken to be relative to the location being indexed. If
  +    <em>Filename</em> begins with a slash, it will be taken to be
  +    relative to the <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code>.
  +    </p>
   
       <div class="example"><h3>Example</h3><p><code>
       ReadmeName FOOTER.html
  +    </code></p></div>
  +
  +    <div class="example"><h3>Example 2</h3><p><code>
  +    ReadmeName /include/FOOTER.html
       </code></p></div>
   
       <p>See also <code class="directive"><a href="#headername">HeaderName</a></code>,
where this behavior
  
  
  
  1.10      +20 -5     httpd-2.0/docs/manual/mod/mod_autoindex.xml
  
  Index: mod_autoindex.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_autoindex.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- mod_autoindex.xml	13 Sep 2002 16:36:15 -0000	1.9
  +++ mod_autoindex.xml	28 Oct 2002 01:27:24 -0000	1.10
  @@ -409,15 +409,23 @@
       of the file that will be inserted at the top of the index
       listing. <em>Filename</em> is the name of the file to include.</p>
   
  -<example><title>Example</title>
  -HeaderName HEADER.html
  -</example>
  +    <example><title>Example</title>
  +    HeaderName HEADER.html
  +    </example>
   
   <note>
         <p>Both HeaderName and <directive
         module="mod_autoindex">ReadmeName</directive> now treat
         <em>Filename</em> as a URI path relative to the one used to
  -      access the directory being indexed. <em>Filename</em> must
  +      access the directory being indexed. If <em>Filename</em> begins
  +      with a slash, it will be taken to be relative to the <directive
  +      module="core">DocumentRoot</directive>.</p>
  +
  +      <example><title>Example</title>
  +      HeaderName /include/HEADER.html
  +      </example>
  +      
  +      <p><em>Filename</em> must
         resolve to a document with a major content type of
         "<code>text/*</code>" (<em>e.g.</em>, <code>text/html</code>,
         <code>text/plain</code>, <em>etc.</em>). This means that
  @@ -839,10 +847,17 @@
       <p>The <directive>ReadmeName</directive> directive sets the name
       of the file that will be appended to the end of the index
       listing. <em>Filename</em> is the name of the file to include, and
  -    is taken to be relative to the location being indexed.</p>
  +    is taken to be relative to the location being indexed. If
  +    <em>Filename</em> begins with a slash, it will be taken to be
  +    relative to the <directive module="core">DocumentRoot</directive>.
  +    </p>
   
       <example><title>Example</title>
       ReadmeName FOOTER.html
  +    </example>
  +
  +    <example><title>Example 2</title>
  +    ReadmeName /include/FOOTER.html
       </example>
   
       <p>See also <directive
  
  
  

Mime
View raw message