From 0cd21e28206362d7ee0e3a262b4e37cdf0cc6c1d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 5 Nov 2012 00:23:23 +0100 Subject: make munin apache plugins work --- etc/apache2/conf.d/munin | 16 ++++++++++++++++ etc/apache2/sites-available/jenkins.debian.net | 5 +++-- 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/apache2/conf.d/munin b/etc/apache2/conf.d/munin index 2c77e185..e81528d7 100644 --- a/etc/apache2/conf.d/munin +++ b/etc/apache2/conf.d/munin @@ -84,3 +84,19 @@ ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html +ExtendedStatus On + + # + # Allow server status reports generated by mod_status, + # with the URL of http://servername/server-status + # Change the ".example.com" to match your domain to enable. + # + + SetHandler server-status + Order deny,allow + Deny from all + Allow from 127.0.0.1 + Allow from 46.16.77.49 + + + diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net index dc2d5b59..75f7f672 100644 --- a/etc/apache2/sites-available/jenkins.debian.net +++ b/etc/apache2/sites-available/jenkins.debian.net @@ -28,8 +28,9 @@ ProxyPreserveHost on # proxy everything but /munin - ProxyPass /munin ! - ProxyPass / http://localhost:8080/ + ProxyPass /munin ! + ProxyPass /server-status ! + ProxyPass / http://localhost:8080/ ErrorLog ${APACHE_LOG_DIR}/error.log -- cgit v1.2.3-70-g09d2