così?
(o qualcosa del genere)
codice:
RewriteCond %{REQUEST_URI} \.html[?]{0,1}.*$ [NC]
RewriteRule ^(.*)$ /dettaglio-prodotti.php [QSA]

RewriteCond %{REQUEST_URI} \.htm[?]{0,1}.*$ [NC]
RewriteRule ^(.*)$ /dettaglio-evento.php [QSA]

#ecc. ecc.