Adding Apache mods using the console on Debian

We needed to enable rewrite.load (the mod_rewrite) module for Apache to enable Clean URLs in drupal which is turn enabled imagecache to work correctly.

Found this great wee piece of code to do so

$cd /etc/apache2/mods-enabled
$ sudo ln -s ../mods-available/mime_magic.conf mime_magic.conf
$sudo ln -s ../mods-available/mime_magic.load mime_magic.load

Note: If you have full access to the Apache server, drop the sudo as that is for sub-admins I believe.

Source:
http://www.debuntu.org/2006/06/15/66-how-to-enable-apache-modules-under-debian-based-system/2

Tech Reference:

Leave a Reply

Your email address will not be published. Required fields are marked *

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑