Would you like to learn how to install and configure the Apache module named MOD_STATUS? In this tutorial, we are going to show you how to enable the Apache statistics page using the Apache module named mod_status on a computer running Ubuntu Linux.

• Ubuntu 18
• Ubuntu 19
• Ubuntu 20
• Apache 2.4.41

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Tutorial Apache - Configuration of mod_status

Install the Apache server and enable the module named mod_status.

Copy to Clipboard

Edit the Apache status.conf configuration file.

Copy to Clipboard

Here is the original file, before our configuration.

Copy to Clipboard

Here is the file with our configuration.

Copy to Clipboard

.In our example, we configure the Apache module named mod_status to allow only computers from the network 192.168.15.0/24 to access the server status page.

Edit the Apache 000-default.conf configuration file.

Copy to Clipboard

Here is the 000-default.conf file before our configuration.

Copy to Clipboard

Here is the 000-default.conf file after our configuration.

Copy to Clipboard

In our example, we restricted the mod_status access only to computers from the network 192.168.15.0/24.

Restart the Apache service.

Copy to Clipboard

On a computer located on the allowed network, open your browser and enter the IP address of your web server plus /server-status.

In our example, the following URL was entered in the Browser:

• http://192.168.15.11/server-status

You will be sent to the Apache server status page.

apache performance monitor

Congratulations! You sucessfully configured the Apache Mod_status feature.