Changing the location of index.htm

The user durand posted a reply on hostm forum about using .htaccess to change the location of the index.htm file.

I assume you can also use this to change the domain name to point to a different file other than index.htm.

Our site structure is being moved over from another hosting company and when it was created, default.htm was used insted of index.htm., interesting eh? (It would be a huge pain in the patuty to change all other links to point to index.htm)

Anyway, you stated in the hostm post to come to your forum if someone needed assistance with this. So here I am, can you help me?

Thank you,
Chaleepas

Submitted by Edgard Durand on August 12, 2005 - 12:41.

The easiest way is to add a line to your .htaccess file.

You will need to open .htaccess file with a programmers text editor and if you find a line like the following, you will need to replace it.
# Set the default handler.
DirectoryIndex default.htm

If you don't find it, you'll need to add it.