Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2009 21:37:36 +0100 (CET)
From:      olli hauer <ohauer@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ohauer@gmx.de
Subject:   ports/141003: [patch] port net-mgmt/nagios pkg-message
Message-ID:  <20091129203736.B40492614B@u18-124.dsl.vianetworks.de>
Resent-Message-ID: <200911292040.nATKe3aZ056944@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091129203736.B40492614B>