List Which Apache Modules are Enabled on Ubuntu

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.

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

View Loaded Apache Modules

Just one command:

apache2ctl -M

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

apache2ctl -M | sort

Refer a friend and get a $50 hosting credit!