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

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.