In the default .htaccess file the order is a little bit confusing. The section for the URL-rewriting is at the bottom of the file, it should be under the comment "## Uncomment these rules if you want to have nice URLs". The correct file ist attached.