dist.htaccess in code templates now has RewriteEngine On, closes #678