From 1f1e757c3d925663fe746b2d55d9e0973d635a5c Mon Sep 17 00:00:00 2001 From: Adnan RIHAN Date: Thu, 23 Apr 2015 11:19:38 +0200 Subject: nagios: update caveat information The caveat mentions to patch /etc/apache2/httpd.conf, concerning the `LoadModule` directive for php5. Loading `cgi_module` is also mandatory. Closes #38961. Signed-off-by: Mike McQuaid --- Library/Formula/nagios.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/nagios.rb b/Library/Formula/nagios.rb index 99512331e..3daeeca80 100644 --- a/Library/Formula/nagios.rb +++ b/Library/Formula/nagios.rb @@ -79,11 +79,14 @@ class Nagios < Formula 1) Turn on Personal Web Sharing. - 2) Load the php module by patching /etc/apache2/httpd.conf: + 2) Load the cgi and php modules by patching /etc/apache2/httpd.conf: -#LoadModule php5_module libexec/apache2/libphp5.so +LoadModule php5_module libexec/apache2/libphp5.so + -#LoadModule cgi_module libexec/apache2/mod_cgi.so + +LoadModule cgi_module libexec/apache2/mod_cgi.so + 3) Symlink the sample config and create your web account: sudo ln -sf #{share}/nagios.conf /etc/apache2/other/ -- cgit v1.2.3