Forum Moderators: phranque
But surely a better solution would be to set .htm pages as the default rather than .html (sorry, I'm a Windows-ite, don't know if/how you can do this in Apache.)
The Apache directive DirectoryIndex in mod_dir [httpd.apache.org] will do this for you.
Just set it up to serve index.htm whenever yourdomain.com/ is requested. Then, always link to just "/" within your site, and you'll never have this problem again.
Jim