Also tried: RewriteRule ^([^.]+)\.htm?$ /folder_name/index.php?param1=$1 [QSA,L]
9:04 am on Feb 16, 2011 (gmt 0)
Temporarily add the R flag so that you can see what is being appended. It will show in the browser URL bar. Use the "Live HTTP Headers" extension for Firefox to examine in more detail.
The second code example looks correct, but only if the code is in the .htaccess file found in the root of the site.
10:40 am on Feb 16, 2011 (gmt 0)
I added [QSA,R,L] but couldn't find any change.
8:24 pm on Feb 16, 2011 (gmt 0)
The R flag means the request will redirect to a new URL. You don't actually want a redirect to a new URL, but having the redirect there (temporarily) allows you to see what that URL would be, what path is requested and what parameters are attached.
Look at that URL in the URL bar of the browser. Does that URL contain all the right path and parameter data? It doesn't matter if content is served or not, you just look at the URL itself to see if it is malformed.