●バックアップ取得
[root@web2 ~]# cp -p /etc/httpd/conf.d/munin.conf /etc/httpd/conf.d/munin.conf.org
●munin.confの編集
以下のように変更する。
[root@db2 ~]# diff -c /etc/httpd/conf.d/munin.conf /etc/httpd/conf.d/munin.conf.org
*** /etc/httpd/conf.d/munin.conf Tue Nov 22 17:58:34 2011
--- /etc/httpd/conf.d/munin.conf.org Wed Mar 25 09:28:08 2009
***************
*** 14,30 ****
#
#
Alias /munin/ /var/www/munin/
!
# Options None
# SSLRequireSSL
! order deny,allow
! deny from all
! Allow from 127.0.0.1
! Allow from 36.3.144.117
# AuthType Basic
# AuthUserFile /site/cfg/passwd
# AuthGroupFile /site/cfg/group
# AuthName "munin"
# require group munin
# Satisfy Any
!
--- 14,28 ----
#
#
Alias /munin/ /var/www/munin/
! #
# Options None
# SSLRequireSSL
! # order deny,allow
! # deny from all
# AuthType Basic
# AuthUserFile /site/cfg/passwd
# AuthGroupFile /site/cfg/group
# AuthName "munin"
# require group munin
# Satisfy Any
! #
●Apache再起動
[root@web2 ~]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]