How to enable mod_rewrite on Ubuntu ...
by augusto on Tue, 05/07/2011 - 15:08
How to enable mod_rewrite on Ubuntu 11.
Ubuntu 11.x comes with mod_rewrite ready to be enabled, so we only need to get it inside the mod-enabled directory
Steps:
- cd /etc/apache2/mods-enabled/
- sudo ln -s ../mods-available/rewrite.load
- sudo apachectl restart
This will do fine with every other apache module.
Example:
How to enable mod_headers on Ubuntu 11.
Ubuntu 11.x comes with mod_headers ready to be enabled, so we only need to get it inside the mod-enabled directory
Steps:
cd /etc/apache2/mods-enabled/
sudo ln -s ../mods-available/headers.load
sudo apachectl restart