The status module allows a server administrator to find out how well their server is performing. An HTML page is presented that gives the current server statistics in an easily readable form. For more information on this Apache module, please see http://httpd.apache.org/docs-2.0/mod/mod_status.html.
Before you start, this article has the following dependencies:
- You must have SSH access set up for root or a sudo user.
READ ME FIRST
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.
On your DV server, you can enable this section in your
httpd.conf file. This is located at
# # Allow server status reports, with the URL of http://dv-example.com/server-status # Change the ".dv-example.com" to match your domain to enable. # # ExtendedStatus on #<Location /server-status> # SetHandler server-status # Order deny,allow # Deny from all # Allow from IP.AD.DR.ESS #</Location>
- Remove the comment character ("#") in front of each line. Pay special attention to the "Allow from" line. Here you will put the IP address that you will be accessing this page from. It is highly suggested to just use your IP address that you are connecting from. Optionally, you might also want to consider password-protecting this page (see below):
- You can also make this page password-protected using something similar to the following:
ExtendedStatus on <Location /server-status> SetHandler server-status AuthType basic AuthName "Apache status" AuthUserFile /etc/httpd/conf/server-status_htpasswd Require valid-user </Location>
- After either method, you will need to restart the apache webserver:
- Navigate to your website at http://dv-example.com/server-status and you should see a page similar to the image below.