• flickr
  • linkedin
  • twitter
  • rss
Adding Apache mods using the console on Debian

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:

Larry's a 30-something chap interested in travel, being a dork and changing the world via less boring training.

Leave a reply