RewriteRule to create a default document

Topics: Developer Forum
Sep 26, 2014 at 8:01 PM
This is what I wrote so far for Iirf.ini:
RewriteEngine On

RewriteRule ^([^\.]+)$ $1.htm [NC,L]
#RewriteRule ^?$ /default.htm
It basically just takes and turns it into

But I need something to make rewrite to

I thought the commented out code in the example above would do that, but it doesn't work. I'm not sure what URL I am ending up with, either.

With .htaccess I am able to add "DirectoryIndex default.htm" but that does not appear to be valid code for IIRF.

There must be some easy way to do what I'm trying to do here? Would really appreciate any advice.