aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdnan RIHAN2015-04-23 11:19:38 +0200
committerMike McQuaid2015-04-24 09:40:28 +0100
commit1f1e757c3d925663fe746b2d55d9e0973d635a5c (patch)
tree8fc11b34459d95a55da7114c3526a2f0541b539f /Library
parentbdb00ab7eeedf44d64ff5b58bd4633f91267f34c (diff)
downloadhomebrew-1f1e757c3d925663fe746b2d55d9e0973d635a5c.tar.bz2
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 <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/nagios.rb5
1 files changed, 4 insertions, 1 deletions
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/