Wednesday, February 24, 2010

Url rewrite Enabling in Ubuntu

sudo gedit /etc/apache2/sites-enabled/000-default

Open this file and give allow override All in

Then now to enable the rewrite

sudo a2enmod rewrite

Now restart apache

sudo /etc/init.d/apache2 restart

To disable the rewrite

sudo a2dismod rewrite

No comments:

Post a Comment