[Pkg-nagios-devel] Bug#612406: nagios3: example apache2.conf is not working due to php5.conf changes in squeeze
Hermann Lauer
Hermann.Lauer at iwr.uni-heidelberg.de
Tue Feb 8 11:00:40 UTC 2011
Package: nagios3
Version: 3.2.1-2
Severity: normal
Tags: patch
after upgrading to squeeze the nagiospage downloads a phtml file instead of showing
content in the webbrowser.
Culprit is a change in php5.conf, so apache2.conf needs to be patched like
attached - or the bug forwarded to the php5 people.
Maybe #584696 is a related issue.
Thanks.
-- System Information:
Debian Release: 6.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: sparc (sparc64)
Kernel: Linux 2.6.26-2-sparc64-smp (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages nagios3 depends on:
ii nagios3-cgi 3.2.1-2 cgi files for nagios3
ii nagios3-core 3.2.1-2 A host/service/network monitoring
nagios3 recommends no packages.
Versions of packages nagios3 suggests:
pn nagios-nrpe-plugin <none> (no description available)
-- no debconf information
-------------- next part --------------
--- /usr/share/doc/nagios3-common/examples/apache2.conf 2010-07-03 23:52:31.000000000 +0200
+++ apache2.conf 2011-02-08 11:51:40.000000000 +0100
@@ -42,6 +42,9 @@
# nagios 1.x:
#AuthUserFile /etc/nagios/htpasswd.users
require valid-user
+
+ #this was in php5.conf in lenny
+ AddType application/x-httpd-php .php .phtml .php3
</DirectoryMatch>
# Enable this ScriptAlias if you want to enable the grouplist patch.
More information about the Pkg-nagios-devel
mailing list