Specify the main index file for the server to look at

Posted 2 years ago

If a user wants to load a directory which is /foo in this case, you can determine which index file gets delivered.

DirectoryIndex index.php index.html index.htm

The above script will ensure the index.php file is displayed before index.html should you have the two versions in the same folder.