“RewriteEngine not allowed here” .htaccess error using XAMPP

Solution:

Set AllowOverride to All in conf/extra/httpd-xampp.conf.