• 引入 httpd-info.conf

https://blog.csdn.net/niejiangshuai/article/details/84998332

LoadModule status_module modules/mod_status.so
LoadModule info_module modules/mod_info.so

<Location /server-status>
    SetHandler server-status
    #Require host .example.com
    #Require ip 127
    Order Deny,Allow
    Deny from nothing
    Allow from all
</Location>


<Location /server-info>
    SetHandler server-info
    #Require host .example.com
    #Require ip 127
    Order Deny,Allow
    Deny from nothing
    Allow from all
</Location>