1、在htppd.conf文件中找到 #LoadModule status_module modules/mod_status.so
和 #LoadModule info_module modules/mod_info.so ,去掉前面的#号
2、在末尾(或者其他不影响其他块结构的地方),添加下code:
#-Apache Server Status--------------
#ExtendedStatus On
<Location /SSserver-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
ExtendedStatus On
##--Apache Server Status--end---------
#-Apache Server info--------------
#ExtendedStatus On
<Location /SSserver-info>
SetHandler server-info
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
ExtendedStatus On
##--Apache Server Status--end---------
3、访问 httpd://localhost/SSserver-info ,httpd://localhost/SSserver-status,显示页面
4、若出现403权限不足错误,改成Allow from all 一定行,哈!
5、好好研究下配置文件!