Localhost apache2 mod-rewrite
January23
If you have one virtual hosting (that means your localhost actually points to /var/www) then change the file “/etc/apache2/sites-enabled/000-default” and replace the following line
AllowOverride None
with
AllowOverride all