Top Nav

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:

Where [modulename] is the module to be enabled.

For example:

will enable the rewrite module.

A module can be disabled in a similar fashion with:

Don’t forget to restart apache after making changes with:

Email
Print