Fattylewis.com
Buy VPN

Allowing server-status on an apache proxy

01 Sep 2015

For my new graphing machine (graphite, grafana, collectd) i wanted to be able to view the Apache server-status of a couple of my reverse proxy’s. This is the directive i had to add.

It was actually quite simple, just add the following to the top of your proxy config.

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

You should know that this bypasses any password protection because of the “Require all granted” stanza. Thats fine for me but something you need to watch out for.

Tweet me @fatty_lewis if you like this post.

Tweet
comments powered by Disqus