一、Apache上的设置
打开<Apache Installation>\conf\httpd.conf,进行如下修改:
1、 设置允许查看Apache运行状态的主机
#
# Allow server status reports, with the URL of http://servername/server-status
# Change the ".your-domain.com" to match your domain to enable.
#
#取消一下代码前面的注释符号“#”,并且设置Order(顺序)为允许优先
<Location /server-status>
SetHandler server-status
Order allow,deny