a2enmod rewrite # service apache2 restart # vim /etc/apache2/sites-available/000-default.conf <Directory /var/www/html> Options Indexes FollowSymLinks MultiViews # changed from None to FileInfo AllowOverride all Order allow,deny allow from all </Directory>