Configuring Apache Servers

Applies to LoadComplete 4.97, last modified on May 20, 2019

The Apache Web server may publish its performance statistics to a special web page. The default URL is http://servername/server-status. LoadComplete can retrieve the published information and parse out the counter values from it.

To enable publishing of the server status, follow the steps below:

  • Open the apache configuration file at: <Apache>/conf/httpd.conf.

  • Search for the "mod_status" text or scroll down until you find a line containing:

    LoadModule status_module modules/

    If there is the "#" character in front of the line, the line is commented out, and consequently, the corresponding module is not loaded. Remove # to load the mod_status module.

  • Find the following section in the httpd.conf file:

    # Allow server status reports generated by mod_status,
    # with the URL of http://servername/server-status
    # Change "" to match your domain to enable.
    #<Location /server-status>
    # SetHandler server-status
    # Order deny,allow
    # Deny from all
    # Allow from

    Uncomment the Location tags: remove the "#" characters in front of the lines that contain the location configuration from between "<Location /server-status>" to "</Location>", inclusive.

    This will make the server status accessible at location http://servername/server-status, access will be denied to everybody, but people connecting from the domain and any subdomain of

  • Find and uncomment the following section of the httpd.conf file:

    # ExtendedStatus controls whether Apache will generate "full" status
    # information (ExtendedStatus On) or just basic information (ExtendedStatus
    # Off) when the "server-status" handler is called. The default is Off.
    ExtendedStatus On

    This will make Apache generate additional information, like CPU use and requests per second.

  • Save the changes and close the httpd.conf file.

  • Restart the Apache server.

See Also

Preparing Servers for Monitoring
Server Monitoring

Highlight search results