Setting up Clean Url's
If you’re running Apache 2, in order to install the rewrite module you simply need to run the following commands with root permission :
# a2enmod rewrite
After you enable rewrite module, edit /etc/apache2/sites-enabled/000-default, and change
Options Indexes FollowSymLinks MultiViews AllowOverride none
to
Options Indexes FollowSymLinks MultiViews AllowOverride all
done.
then restart the webserver:
# /etc/init.d/apache2 restart

Post a Comment