Enabling the server-status page on your (dv)
Overview
The status module allows a server administrator to find out how well their server is performing. A 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.
Instructions
On your (dv) Dedicated-Virtual Server, you can enable this section in your httpd.conf file, located at /etc/httpd/conf/httpd.conf.
#
# Allow server status reports, with the URL of
http://mt-example.com/server-status
# Change the ".your-domain.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:
/etc/init.d/httpd restart - Navigate to your website at http://mt-example.com/server-status and you should see a page similar to:

User Comments
No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article