Changing the default documents for a website
My ISPs’ Apache servers are configured for index.html and index.htm to be the default documents; however since implementing server side includes in my websites I need index.shtml to be recognised as the default document.
Fortunately, this can be achieved using the following directive in the corresponding .htaccess file:
DirectoryIndex index.shtml index.html index.htm
Microsoft Internet Information Server (IIS) users can find information on setting up default documents in the IIS 6.0 Operations Guide.
Posted: 17:03 on Wednesday 8 December 2004 under IIS, Apache, Website development.
Comments: none
RSS (for comments on this post only)Share This


Write a comment
Please note the rules for comments and the privacy policy and data protection notice. I'm sorry but, because not everyone sticks to the rules, I've had to implement some spam prevention measures - if you're experiencing difficulties leaving a comment, please let me know.