The script can't determine that the domain/ and domain/index.htm are not the same. You can set up an htaccess file to do the mod_rewrite or contact your service provider and they will have a way for you to accomplish this. The link I provided in the first response has instructions on how to create the htaccess file.