Options +FollowSymLinks
Options +Indexes
RewriteEngine on
RewriteRule ^(.*)\.html$ ../../index.php?product=$1 [NC]
RewriteRule ^([^/]+)/?(.*)\.html$ ../../product.php [NC]