Configure mod_rewrite in Apache2 on Ubuntu
To configure mod_rewite in ubuntu apache system Goto your terminal and type sudo a2enmod rewrite Then open 000-default from /etc/apache2/sites-enabled in your favourite text editor gedit /etc/apache2/sites-enabled/000-default go and find AllowOverride none replace 'none' with All, like AllowOverride All and restart your apache /etc/initd/apache2 restart thats all