The following reply was made to PR mod_autoindex/4256; it has been noted by
GNATS.
From: RSBX <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: mod_autoindex/4256: Patch to permit HeaderName and Readme files to
be server parsed.
Date: Wed, 21 Apr 1999 16:47:35 +0000
The following patch changes the documentation for HeaderName and
ReadmeName
directive to reflect the new functionality from my previous patch.
NOTE: If this fuctionality does not make it into Apache 1.3.7, this
patch
will have to be changed.
Raymond S Brand
--- mod_autoindex.html.apache Wed Apr 21 12:38:46 1999
+++ mod_autoindex.html Wed Apr 21 12:37:00 1999
@@ -437,14 +437,15 @@
The HeaderName directive sets the name 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, and is taken to be relative to the directory being indexed.
-The server first attempts to include
<EM>filename</EM><CODE>.html</CODE>
+<BLOCKQUOTE><STRONG>Note that in versions of Apache prior to
1.3.7</STRONG>
+the server first attempts to include
<EM>filename</EM><CODE>.html</CODE>
as an HTML document, otherwise it will include <EM>filename</EM> as
plain
text. 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>
<H2><A NAME="indexignore">IndexIgnore</A></H2>
@@ -764,14 +765,15 @@
The ReadmeName 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 directory being indexed.
-The server first attempts to include
<EM>filename</EM><CODE>.html</CODE>
+<BLOCKQUOTE><STRONG>Note that in versions of Apache prior to
1.3.7</STRONG>
+the server first attempts to include
<EM>filename</EM><CODE>.html</CODE>
as an HTML document, otherwise it will include <EM>filename</EM> as
plain
text. Example:
<BLOCKQUOTE><CODE>ReadmeName README</CODE></BLOCKQUOTE>
when indexing the directory <CODE>/web</CODE>, the server will first
look for
the HTML file <CODE>/web/README.html</CODE> and include it if found,
otherwise
it will include the plain text file <CODE>/web/README</CODE>, if it
exists.
-
+</BLOCKQUOTE>
<P>See also <A HREF="#headername">HeaderName</A>.<P>