ports/141003: [patch] port net-mgmt/nagios pkg-message

olli hauer ohauer at gmx.de
Sun Nov 29 20:40:03 UTC 2009


>Number:         141003
>Category:       ports
>Synopsis:       [patch] port net-mgmt/nagios pkg-message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 29 20:40:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     olli hauer <ohauer at gmx.de>
>Release:        
>Organization:
>Environment:


>Description:
Hi,

just updated to the new nagios version :) and reconfigured apache according the pkg-message.

apache barks short with the following message

# httpd -S
Syntax error on line 462 of /usr/local/etc/apache22/httpd.conf:
php_admin_value takes two arguments, PHP Value Modifier (Admin)

Solution was to change the 'whitespace' to ':' in the php_admin_value directive

olli



>How-To-Repeat:
>Fix:
--- patch_nagios_pkg-message.txt begins here ---
--- files/pkg-message.in
+++ files/pkg-message.in
@@ -19,7 +19,7 @@
      Deny from all
      Allow from 127.0.0.1
      php_flag engine on
-     php_admin_value open_basedir %%PREFIX%%/%%NAGIOSWWWDIR%%/ %%NAGIOSDIR%%/
+     php_admin_value open_basedir %%PREFIX%%/%%NAGIOSWWWDIR%%/:%%NAGIOSDIR%%/
    </Directory>
 
    <Directory %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin>
--- patch_nagios_pkg-message.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list