Manage Apache Modules On Ubuntu
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:
|
1 |
a2enmod [modulename] |
Where [modulename] is the module to be enabled. For example:
|
1 |
a2enmod rewrite |
will enable the rewrite module. A module can be disabled in a similar fashion with:
|
1 |
a2dismod [modulename] |
Don’t forget to restart apache after making changes with:
|
1 |
service apache2 restart |