You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by rb...@apache.org on 2002/10/28 02:35:44 UTC
cvs commit: httpd-docs-1.3/htdocs/manual/mod mod_autoindex.html
rbowen 2002/10/27 17:35:44
Modified: htdocs/manual/mod mod_autoindex.html
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.49 +9 -3 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.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- mod_autoindex.html 6 Feb 2002 16:00:18 -0000 1.48
+++ mod_autoindex.html 28 Oct 2002 01:35:44 -0000 1.49
@@ -490,15 +490,21 @@
</blockquote>
<blockquote>
- <strong>Apache versions after 1.3.6:</strong>
+ <p><strong>Apache versions after 1.3.6:</strong>
<em>Filename</em> is treated as a URI path relative to the
- one used to access the directory being indexed, and must
+ one used to access the directory being indexed. Note that this
+ means that if <em>Filemame</em> starts with a slash, it will be
+ taken to be relative to the <a
+ href="core.html#documentroot">DocumentRoot</a>.</p>
+
+ <p><em>Filename</em> must
resolve to a document with a major content type of
"<samp>text</samp>" (<em>e.g.</em>, <samp>text/html</samp>,
<samp>text/plain</samp>, <em>etc.</em>). This means that
<em>filename</em> may refer to a CGI script if the script's
actual file type (as opposed to its output) is marked as
- <samp>text/html</samp> such as with a directive like:
+ <samp>text/html</samp> such as with a directive like: </p>
+
<pre>
AddType text/html .cgi
</pre>
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org