Configuration for enable modules is stored in: /etc/apache2/mods-enabled Available but inactive modules are stored in: /etc/apache2/mods-available A module can be enabled with: a2enmod [modulename] Where [modulename] is the module to be enabled. For example: a2enmod rewrite will enable the rewrite module. A module can be disabled in a similar fashion with: a2dismod [modulename] Don’t forget [...]
Configuration for enable modules is stored in:
/etc/apache2/mods-enabled
Available but inactive modules are stored in:
/etc/apache2/mods-available
A module can be enabled with:
a2enmod [modulename]
Where [modulename] is the module to be enabled.
For example:
a2enmod rewrite
will enable the rewrite module.
A module can be disabled in a similar fashion with:
a2dismod [modulename]
Don’t forget to restart apache after making changes with:
service apache2 restart