Do you want just to have an .htm extension like a "big website" or are you
trying to meet a particular goal ???
For example :
- the extension could be faked.
- another possibility would be to create programmatically an HTML files
instead of creating it dynamically each time (similar to "caching", the
benefit is that you could save some processing time on a very high traffic
site)