In terminal type: sudo gedit /etc/apache2/apache2.conf Find: <Directory /var/www/> And make sure the AllowOverride directive is set to All .…