Tag Archives: a2dismod

How to enable and disable apache2 modules in Linux

a2enmod modulename - this will enable a module

a2dismod modulename - this will disable a module

 

Once you have made the changes, execute the service apache2 restart command and away you go!