I have a fresh install of Apache 2.2 on my Ubuntu 12.4 machine, everything works fine, except mod_rewrite. I have tried many commands to enable the mod_rewirte in apache 2, but none of my rewrite rules work for me.
After some search on google I found some solution to enable the mod_rewirte in apache 2 in Ubuntu.
In order to use mod_rewrite you can type the following command in the terminal:
After some search on google I found some solution to enable the mod_rewirte in apache 2 in Ubuntu.
In order to use mod_rewrite you can type the following command in the terminal:
a2enmod rewrite
Restart apache2 after
/etc/init.d/apache2 restart
No comments