HSLAB HTTP Monitor

ID #1001

How to configure For Apache versions 2.2.x ?

First of all, you should be convinced, that your server uses the mod_status module. For this purpose open in your text editor a web server configuration file httpd.conf. Find the section loading modules and check up, whether there is there a line:

LoadModule status_module modules/mod_status.so

This line can differ a little depending on the version of your server and operation system. If this line has ahead a symbol # that remove it.
 

Now you should locate lines:

# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf

and uncomment second line:

# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf


Now need to proceed to a configuration of the status. Open  conf/extra/httpd-info.conf file and find the lines:

#ExtendedStatus On

Remove # symbol:

ExtendedStatus On

Check your domain name:

<Location /server-status>
   SetHandler server-status
   Order deny,allow
   Deny from all
   Allow from .yourdomain.com
</Location>

Or for testing:

<Location /server-status>
  SetHandler server-status
  Order deny,allow
  Deny from all
  Allow from all
</Location>

Line "Allow from .yourdomain.com" enables queries of the status from any computer of your domain(yourdomain.com). If you want to limit access only for the your computer, you should write "Allow from yourcomputer.yourdomain.com". Where your computer is a name of your computer and yourdomain - a name of your domain. Also you can write "Allow from all". In this case, the statistics of your wed server will be accessible from any computer in the Internet. We urgently do not recommend so to do, you should have very serious reason for this purpose!

 

Your web server configuration is finished! Now you should save your changes and restart your web the server.

Tags: -

Related entries:

Last update: 2006-12-02 11:25
Author: Oleg
Revision: 1.0

Digg it! Print this record Send to a friend Show this as PDF file
Please rate this entry:

Average rating: 3 out of 5 (2 Votes )

completely useless 1 2 3 4 5 most valuable