Beautify Apache server-status page

Apache HTTP server can have mod_status enabled and can

目前为 2016-04-08 提交的版本。查看 最新版本

作者
Denilson Sá Maia
评分
0 0 0
版本
1.3
创建于
2016-04-08
更新于
2016-04-08
大小
24.6 KB
许可证
Public domain
适用于

Apache HTTP server can have mod_status enabled and can display some server status via HTTP/HTML. However, the page sent to browser is a bit raw, completely unstyled, and hard to read. This script tries to make that page much prettier and more readable. It has been tested with Apache versions 2.0.55 until 2.2.21 and should work on most versions, unless the generated HTML changes, which will degrade gradually the script.

Note: it seems the server-status output might have changed in 2.3, this means this script is slightly broken in that version, but will degrade gracefully anyway. Whenever the new version gets "stable", I'll update this script.

History/Changelog:

  • 2011-10-20 - Fixed bugs introduced by SortTable code (and that means I've removed browser-sniffing and IE workaround, and also moved forEach to the top, instead of the bottom). Also updated the alternating row style to use CSS3 :nth-child() selector, instead of old code using plain JavaScript.
  • 2011-10-18 - Added Stuart Langridge's SortTable script, making the main server-status table sortable.
  • 2010-01-30 - This script was added to this site.
  • 2006-04-23 - This script was born.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址