Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

How to see which modules are active in Apache

In this manual, we will teach you to consult, from a command line, how to find out which are the active modules in your Apache installation. You will see that the steps to follow are very simple.

Before starting, however, keep in mind that you must execute these commands as a user with administrator privileges. For example, from the "root" user account.

1. List all active modules (distributions based on Debian)

To list all the active modules you can use the "apache2ctl" command. The exact syntax is the following: apache2ctl -M The "-M" option specifies that a list of all currently active modules be displayed.

2. List all active modules (distributions based on RedHat)

To list all active modules you can use the "httpd" command. The exact syntax is the following: httpd -M The "-M" option specifies that a list of all currently active modules be displayed.

##3. List all available modules (distributions based on Debian) To list all available modules (both active and inactive), you can use the "ls" command and display the contents of the Apache related directory. ls /etc/apache2/mods-available

##4. List all available modules (distributions based on RedHat) To list all available modules (both active and inactive), you can use the "ls" command and display the contents of the Apache related directory. ls /etc/httpd/mods-available

More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.