index.html
a2hosting default
Directory Index
By default, with no .htaccess directive, the default page for a folder is defined as
DirectoryIndex index.php index.cgi index.html
Filename Suffix
The suffix lets Apache know how to preprocess the file.
-
index.cgi
suffix cgi runs scripts thru the Common Gateway Interface (cgi).
This script is written in python, but cgi supports many languages, similar to the Linux shell.
-
index.php
Suffix php means PHP sections are interpreted.
Most likely this is implemented with mod_php which allows for mixed html and php.
-
index.html
Suffix html means straight HMTL. PHP sections are ignored. No scripting other than javascript.