Monday, December 12, 2011

Apache monitoring tool “server-status”

Recently I knew about a Apache module mod_status.
It’s a helpful module to monitor status of your Web server.
By default it’s already installed when you installed Apache.
But if not then you need to recompile Apache againg.
*********************************
First, move into your Apache source directory.
% cd /usr/local/src/apache_1.3.x
# ./config.status --enable-module=status
# make
# make install
**********************************************
Note: After recompiling Apache you need to make change in apache config file
***************************
<Location /server-status> 
SetHandler server-status
Order deny,allow 
Deny from all 
Allow from .your_domain.com 
</Location>
***********************************
Just restart apache & now your server is ready to give you it's status.
now go to your web browser
http://abc.com/server-status?

1 comment:

  1. Please also refer to the below link also

    http://onlamp.com/pub/a/apache/2000/04/21/wrangler.html

    ReplyDelete

Renew k8s certificates

Check If certificate expires: amikum@~:03:06:54(⎈ |local-cluster:default):sudo kubeadm certs check-expiration CERTIFICATE                EXP...