We have an Apache server configured such that in conf/httpd.conf we have (the rest of the file has been removed for brevity):
LoadModule status_module modules/mod_status.so ExtendedStatus On
And in conf.d/myserver.conf we have (other bits removed again):
Listen 8162 <VirtualHost *:8162> <Location /server-status> SetHandler server-status Order allow,deny Allow from localhost Deny from all </Location> </VirtualHost>
Note that in httpd.conf, all Listen directives are commented out, meaning that Apache is only listening on port 8162.
<Location /server-status> is also commented out in httpd.conf.
When we try and wget http://localhost:8162/server-status we get a 403 come back.
Can server-status run on a non-standard port? If it can, what else should we be looking for in order to make server-status accessible from the localhost?