DirectoryIndex

The directoryindex command allows us to set a default page for directory.

Example

DirectoryIndex index.html

We can setup a directoryindex to call multiple files.

DirectoryIndex index.htm index.cgi index.php

The above lines tell the Apache Web Server to display the 'index.html' file as the directoryindex, if this file is not available then display 'index.cgi', and if this is not available then display 'index.php'.