apachectl Alternate Location

Quick snippet for when Apache isn't listening on 127.0.0.1 or on an alternative port.

On RHEL/CentOS add the following to /etc/sysconfig/httpd:

STATUSURL=http://<IP>:<PORT>/server-status

On Ubuntu add to /etc/apache2/envars:

STATUSURL=http://<IP>:<PORT>/server-status