Thread: New to Apache
View Single Post
  #12  
Old 25th Apr 03, 06:18 PM
JacKDynne's Avatar
JacKDynne JacKDynne is offline
Administrator
 
Join Date: Oct 2001
Location: The Past Through Tomorrow
Posts: 1,591
JacKDynne will become famous soon enoughJacKDynne will become famous soon enough
Send a message via MSN to JacKDynne
Quote:
DirectoryIndex

The DirectoryIndex Directive tells the Server what file(s) it should look for by default before it displays a Directory Index. Your Web Site is most likely configured so that the Server looks for index.html and index.htm files as the default files. If one of these files exists, their contents are displayed. If neither exists, the Server will create a Directory Listing and display that instead.

Example:

A request for http://www.mydomain.com/

will display the contents of

http://www.mydomain.com/index.html

if the file index.html file exists. If the file does not exist, the Server will create a directory listing which will display all of the files and directories in the Document Root.



/JD
__________________


Reply With Quote