Options +FollowSymLinks
RewriteEngine on 
 

RewriteRule /(.*)\.html detail.php?url=$1 [L]