How to enable mod_rewrite for Apache in Ubuntu
It’s already installed, but not enabled. The easiest way to enable it is to follos these steps:
run this command (a2enmod == apache2 enable module):
a2enmod rewrite
edit this file /etc/apache2/sites-enabled/000-default; you can use the following command:
sudo gedit /etc/apache2/sites-enabled/000-default
make sure you have there AllowOverride All directive for the default directory (this will make all the subdirectories inherit this [...]
Recent Comments