Wednesday, November 16, 2005

Apache - HTTPD - Extended Server Status with server-status and ExtendedStatus

HTTPD (Apache 2) comes with really cool server status monitoring module that is often loaded by default. To start using it, you need to place code similar to following in the httpd.conf file.


# FM 11/16/05 server-status module enabled
ExtendedStatus On

SetHandler server-status

Order Deny,Allow
Deny from all
Allow from .domain.com


Remember to modify .domain.com to the domain from where you will be accessing the server. Once you have configured the above, start Apache (httpd) and visit http://server.com/server-status .



0 Comments:

Post a Comment

<< Home