26 Jul 10 8:57 am
It might be that the default index page of your hosting account was set to index.html. To verify this, open your .htaccess file and look for a code that goes like this:
If this is the case, the server would always look for the index.html even if you have your home page set as index.php. If there is no index.html, you would see an error on your home page. This can be fixed by correcting the "DirectoryIndex" code.
The code should be like this:
The code above means that the server would first look for the 'index.html' file, if it cannot see an 'index.html' file, it will look for 'index.htm', and finally 'index.php'. If you have both index.html and index.php uploaded into your account, the index.html will be displayed instead since it is the first file defined in the list. You'll have to delete index.html in order for index.php to show up.
Or you can also configure the Directoryindex like this:
So that it will only be looking for 'index.php'.