RewriteEngine on
RewriteRule ^([^/\.]+)/?.properties$ external.php?id=$1 [L]