See Also:
http://www.printlogger.com   Printer accounting software
http://www.sys-monitoring.com   System monitoring software
http://www.hs-lab.com   Software for Business and Home
http://win-printing.com   Windows Printing Software,
Articles and Press Release
     
Handy Software Lab's Software Products
     
HSLAB Force Down   HSLAB Print Logger Family
HSLAB Shutdown Folder   HSLAB Sys Monitor
HSLAB Logger   HSLAB Prefetch Manager
HSLAB HTTP Monitor Family   HSLAB WhoIs
HSLAB Security TrackerFamily    
     
     

HSLAB HTTP Monitor

ID #1000

How to configure Apache versions 1.3.x - 2.0.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 need to proceed to a configuration of the status. Find the lines:

# 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

Also remove a symbol # in line #ExtendedStatus On. In result this section should look like:

# 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


Further we should to install the status handler. Find the lines:

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

Also remove superfluous symbols #. Now the section should look so:

# Allow server status reports, with the URL of http://servername/server-status
# Change the ".yourdomain.com" to match your domain to enable.
#
<Location/server-status>
SetHandler server-status
Order deny, allow
Deny from all
Allow from .yourdomain.com
</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!

See also:
How to configure For Apache versions 2.2.x ?

Tags: -

Related entries:

Last update: 2009-09-13 12:54
Author: Oleg
Revision: 1.16

Digg it! Share on Facebook Print this record Send article to a friend Show this as PDF file
Please rate this article:

Average rating: 1.92 (13 Votes)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry