Ubuntu 16 Apache Server Status

新建檔案 /etc/apache2/conf-available/server-status.conf

<Location "/server-status">
    SetHandler server-status
    Require all granted
</Location>

enable conf 檔

sudo a2enconf server-status

reload apache

sudo service apache2 reload

client 端 browser 連到 http://xxx.xxx.xxx/server-status 就可以看到 Apache server status.

參考:Ubuntu 啟用 Apache HTTP Server 的 mod_status 模組, 2012-12-02