
Sometimes it is easier and quick to get status on a Web Server from a browser - you can be anywhere and know what is going on with the server. Of course, this works only if you are on a firewall protected network.
The IBM HTTP Server server-status page is available on all supported IBM HTTP Server platforms. It shows performance data on a Web page in HTML format. Statistics include total accesses, requests/sec, data(KB)/sec, total traffic (MB) since last restart, etc.
To make this work, perform the following steps to activate the server-status page:
1. Open the IBM HTTP Server file httpd.conf in an editor.
2. Remove the comment character “#” from the following lines:
#LoadModule status_module modules/mod_status.so
#
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .example.com
#
3. Customize the “.example.com” in the sample configuration to match your source workstation reverse DNS entry so you’re allowed to access the page. In our example this must be changed to:
Allow from .pw.com [replace with your own domain name]
4. Save the changes and restart the IBM HTTP Server.
5. Open the URL http:///server-status in a Web browser, and click Refresh to update the status.
If your browser supports refresh, you can also use the URL http:///server-status?refresh=5 to refresh every 5 seconds.
As shown in the following image, you can see (along with additional information) the number of requests currently being processed, and the number of idle servers.
No comments:
Post a Comment