List Which Apache 2 Modules are Enabled on CentOS 7

Reading Time: < 1 minute

The Apache web server is one of the most popular and powerful web servers in the world due to its ease of administration and flexibility. This flexibility comes Apache’s modular design, and allows for such features as: URL rewriting for SSL encryption natively, and Outlook Anywhere passthrough support in reverse proxy setups. Modularity allows Administrators to modify Apache to meet their needs; adding modules that are needed and removing ones that are not. Here we’ll be working with Apache on CentOS 7.

Pre-Flight Check
  • These instructions are intended specifically for viewing which Apache modules are enabled on CentOS.
  • I’ll be working from a Liquid Web Core Managed CentOS 7 server with Apache 2 installed, and I’ll be logged in as root.

View Loaded Apache Modules

Just one command:

apachectl -M

Or, if you want to view the list in alphabetical order:

apachectl -M | sort

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

How to use kill commands in Linux

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change the root password in WebHost Manager (WHM)

Read Article