sudo a2enmod rewriteOpen the config file..
sudo nano /etc/apache2/sites-available/defaultFind the following lines..
Options Indexes FollowSymLinks MultiViewsChange None to all & save + close the file.
AllowOverride None
Order allow,deny
allow from all
Restart Apache..
sudo /etc/init.d/apache2 restartIt helped me :)

