Activating modules with Apache2
In Apache2 on debian, all of the available modules are in the directory /etc/apache2/mods-available and all of the modules that are enabled are in the directory /etc/apache2/mods-enabled.
To activate a module like rewrite, just create a symbolic link from the file in mods-available to mods-enabled.
Here's how to do that for the rewrite module, but the others are identical.
# cd /etc/apache2/mods-enabled # ln -s ../mods-available/rewrite.load .
Restart the apache server now.
# /etc/init.d/apache2 restart
[Click to add or edit comments])
Please prepend comments below including a date