RewriteEngine On
RewriteRule   ^[^/]*\.html$  index.php
RewriteRule   ^[^/]*\.htm$  index.php
