modify .htaccess to handle dam with extension