Making Our Own Indexes

In the last section, we looked at Apache’s indexing facilities. So far we have not been very adventurous with our own indexing of the document root directory. We replaced Apache’s adequate directory listing with a custom-made .html file: index.html (see Chapter 3).

We can improve on index.html with the DirectoryIndex command. This command specifies a list of possible index files to be used in order.