Problem
Apache mod_rewrite doesn’t work even if all of the .htaccess settings are correct.
Cause
The settings in /etc/apache2/sites-enabled/000-default for /var/www/ is set to AllowOverride None.
Solution
Change the setting to AllowOverride All.


