]> granicus.if.org Git - apache/commitdiff
Fix description of DirectoryIndex to explain that a directory index will
authorpcs <pcs@unknown>
Wed, 16 Apr 1997 12:40:31 +0000 (12:40 +0000)
committerpcs <pcs@unknown>
Wed, 16 Apr 1997 12:40:31 +0000 (12:40 +0000)
only be returned if Options +Indexes is set.

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

docs/manual/mod/mod_autoindex.html
docs/manual/mod/mod_dir.html

index dff18a603e47d8b1a6cffd920197198ce2221211..dc9093ee1611119b65e939e6a5bdb28658b03292 100644 (file)
@@ -150,13 +150,17 @@ DefaultIcon /icon/unknown.xbm
 <strong>Status:</strong> Base<br>
 <strong>Module:</strong> mod_dir<p>
 
-The DirectoryIndex directive sets the list of resources to look for, when
-the client requests an index of the directory by specifying a NULL file
-at the end of the a directory name. <em>Local-url</em> is the (%-encoded) URL
-of a document on the server relative to the requested directory; it is usually
-the name of a file in the directory. Several URLs may be given; the server
-will return the first one that it finds. If none of the resources exist,
-then the server will generate its own listing of the directory.
+The DirectoryIndex directive sets the list of resources to look for,
+when the client requests an index of the directory by specifying a /
+at the end of the a directory name. <em>Local-url</em> is the
+(%-encoded) URL of a document on the server relative to the requested
+directory; it is usually the name of a file in the directory. Several
+URLs may be given, in which case the server will return the first one
+that it finds. If none of the resources exist and the
+<CODE>Indexes</CODE> option is set, the server will generate its own
+listing of the directory.
+<P>
+
 Example:
 <blockquote><code>
 DirectoryIndex index.html
index dff18a603e47d8b1a6cffd920197198ce2221211..dc9093ee1611119b65e939e6a5bdb28658b03292 100644 (file)
@@ -150,13 +150,17 @@ DefaultIcon /icon/unknown.xbm
 <strong>Status:</strong> Base<br>
 <strong>Module:</strong> mod_dir<p>
 
-The DirectoryIndex directive sets the list of resources to look for, when
-the client requests an index of the directory by specifying a NULL file
-at the end of the a directory name. <em>Local-url</em> is the (%-encoded) URL
-of a document on the server relative to the requested directory; it is usually
-the name of a file in the directory. Several URLs may be given; the server
-will return the first one that it finds. If none of the resources exist,
-then the server will generate its own listing of the directory.
+The DirectoryIndex directive sets the list of resources to look for,
+when the client requests an index of the directory by specifying a /
+at the end of the a directory name. <em>Local-url</em> is the
+(%-encoded) URL of a document on the server relative to the requested
+directory; it is usually the name of a file in the directory. Several
+URLs may be given, in which case the server will return the first one
+that it finds. If none of the resources exist and the
+<CODE>Indexes</CODE> option is set, the server will generate its own
+listing of the directory.
+<P>
+
 Example:
 <blockquote><code>
 DirectoryIndex index.html