Received: (from majordom@localhost) by hyperreal.com (8.8.4/8.8.4) id FAA10594; Wed, 16 Apr 1997 05:40:34 -0700 (PDT) Received: (from pcs@localhost) by hyperreal.com (8.8.4/8.8.4) id FAA10588 for apache-cvs; Wed, 16 Apr 1997 05:40:32 -0700 (PDT) Date: Wed, 16 Apr 1997 05:40:32 -0700 (PDT) From: Paul Sutton Message-Id: <199704161240.FAA10588@hyperreal.com> To: apache-cvs@hyperreal.com Subject: cvs commit: apache/htdocs/manual/mod mod_dir.html Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org pcs 97/04/16 05:40:32 Modified: htdocs/manual/mod mod_dir.html Log: Fix description of DirectoryIndex to explain that a directory index will only be returned if Options +Indexes is set. Revision Changes Path 1.4 +11 -7 apache/htdocs/manual/mod/mod_dir.html Index: mod_dir.html =================================================================== RCS file: /export/home/cvs/apache/htdocs/manual/mod/mod_dir.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C3 -r1.3 -r1.4 *** mod_dir.html 1996/12/02 18:14:04 1.3 --- mod_dir.html 1997/04/16 12:40:31 1.4 *************** *** 150,162 **** 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. Example:

DirectoryIndex index.html --- 150,166 ---- 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 / ! 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