您的位置:首页 > 运维架构 > Apache

[zt] Viewing the Apache server status

2006-09-13 17:18 435 查看
Open the Apache httpd.conf file.

Uncomment this line

#LoadModule status_module
modules/mod_status.so


to

LoadModule status_module modules/mod_status.so


Change this

#ExtendedStatus On


to

ExtendedStatus On


Uncomment the following:

#<Location /server-status>

#    SetHandler server-status

#    Order deny,allow

#    Deny from all

#    Allow from .viru.mine.nu

#</Location>


to

<Location /server-status>

    SetHandler server-status

    Order deny,allow

#    Deny from all

    Allow from all

</Location>


Now just navigate to http://<hostname>/server-status to view the
current status of your website.

The source: http://www.thethirdbridge.com/doItYourself/viewingTheApacheServerStatus.html
如果你发现在配置文件中这不到第三步和第四步中的两个设置,就直接把这两段 copy 进去随便找个地方一放,就可以了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  apache server module
相关文章推荐