From: pcs Date: Wed, 16 Apr 1997 12:40:31 +0000 (+0000) Subject: Fix description of DirectoryIndex to explain that a directory index will X-Git-Tag: APACHE_1_2b9~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=518759133c418a49706d7e61f367058604f43db7;p=apache Fix description of DirectoryIndex to explain that a directory index will 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 --- diff --git a/docs/manual/mod/mod_autoindex.html b/docs/manual/mod/mod_autoindex.html index dff18a603e..dc9093ee16 100644 --- a/docs/manual/mod/mod_autoindex.html +++ b/docs/manual/mod/mod_autoindex.html @@ -150,13 +150,17 @@ DefaultIcon /icon/unknown.xbm Status: Base
Module: mod_dir

-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. Local-url 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. Local-url 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 +Indexes option is set, the server will generate its own +listing of the directory. +

+ Example:

DirectoryIndex index.html diff --git a/docs/manual/mod/mod_dir.html b/docs/manual/mod/mod_dir.html index dff18a603e..dc9093ee16 100644 --- a/docs/manual/mod/mod_dir.html +++ b/docs/manual/mod/mod_dir.html @@ -150,13 +150,17 @@ DefaultIcon /icon/unknown.xbm Status: Base
Module: mod_dir

-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. Local-url 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. Local-url 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 +Indexes option is set, the server will generate its own +listing of the directory. +

+ Example:

DirectoryIndex index.html