[Pkg-nagios-devel] Bug#317015: nagios-common: /netsaint/cgi-bin links broken

Mathew Rubright Mathew Rubright <mrubright@mindspring.com>, 317015@bugs.debian.org
Tue, 05 Jul 2005 11:06:51 -0400


Package: nagios-common
Severity: normal

/etc/nagios/apache.conf contains an Alias line for Netsaint backward
compatibility, however there are no corresponding Alias lines for
/netsaint/cgi-bin or /cgi-bin/netsaint.

The following change to apache.conf corrects the problem.

--- orig/apache.conf	2005-07-05 10:47:52.093714208 -0400
+++ new/apache.conf	2005-07-05 10:47:12.011807584 -0400
@@ -8,6 +8,8 @@
 # it won't work for you...
 #
 # I'm enabling BOTH, just to be sure!
+ScriptAlias /cgi-bin/netsaint /usr/lib/cgi-bin/nagios
+ScriptAlias /netsaint/cgi-bin /usr/lib/cgi-bin/nagios
 ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios
 ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios
 <DirectoryMatch /usr/lib/cgi-bin/nagios>

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)