1. Open the Apache httpd.conf file.

  2. Uncomment this line
    #LoadModule status_module modules/mod_status.so
    to
    LoadModule status_module modules/mod_status.so

  3. Change this
    #ExtendedStatus On
    to
    ExtendedStatus On

  4. 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>

  5. 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 进去随便找个地方一放,就可以了。

相关文章:

  • 2021-08-12
  • 2022-12-23
  • 2021-12-02
  • 2021-11-14
  • 2021-07-01
  • 2021-05-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-26
  • 2021-07-03
  • 2021-06-18
  • 2021-10-27
  • 2021-07-11
  • 2021-08-10
  • 2022-12-23
相关资源
相似解决方案