Avoid Apache's mod_status being exposed by Varnish
- by Peteris Caune
An Ubuntu 9.04 box running Apache on 8080 and Varnish on 80.
Recently set up Munin and was wondering why Apache graphs are empty. Saw from the logs that Munin is accessing /server-status?auto and getting 403 Forbidden back. So I edited /etc/apache2/monds-enabled/status.conf to allow access from 127.0.0.1. But doing this actually made /server-status public, since requests coming through Varnish appear to come from 127.0.0.1 too.
So the question is, how do I configure mod_status to be accessible only by munin-node and not by Varnish?