Submit a ticketCall us

AnnouncementsAre You “Flying Blind?”

When it comes to your complex IT infrastructure, you want to ensure you have a good grasp of what’s going on to avoid any fire drills that result from guesswork. Read our white paper to learn how proactively monitoring your IT environment can help your organization while giving you peace of mind.

Get your free white paper.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Configure Apache to allow access to the server-status page

Configure Apache to allow access to the server-status page

Table of contents
Created by Jesus Relingado, last modified by Jose.BarbosaReis on Mar 27, 2018

Views: 8,291 Votes: 0 Revisions: 3



Apache Application Monitor retrieves statistics from the built-in Apache server-status web page using Perl scripts.

This article shows how to configure Apache to allow access to the server-status page.


SAM 6.0 and later


  1. Log on to your Apache server using an SSH or telnet client.
  2. Grant yourself root permissions (su root).
  3. Locate the Apache configuration file, typically in /etc/httpd/conf/httpd.conf 
    (For more information, see:
  4. Append the following lines to your httpd.conf Apache configuration file, substituting the IP address or host name of your Apache server for localhost. Use localhost only if the Apache server services the loopback interface.
    <Location /server-status>
    SetHandler server-status
    Order Deny,Allow
    Deny from all
    Allow from localhost
    ExtendedStatus On
  5. Restart the Apache server (apachectl graceful).
  6. If the event a counter returns the following error, you will need to install libwww-perl.
    Can't locate LWP/ in @INC ...” error:
  7. To install libwww-perl., enter the following command:
    cpan LWP::UserAgent


   yum install perl-libwww-perl.noarch




Last modified