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

Comments

Popular posts from this blog

How to Reset Root Password in Drupal 7 with phpMyAdmin

Drupal - Hiding field group and its Children