[Pkg-nagios-devel] Bug#260914: marked as done (side.html has absolute paths in hrefs, breaking the "url_html_path" variable in /etc/nagios/cgi.cfg)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 17 Feb 2005 10:18:20 -0800


Your message dated Thu, 17 Feb 2005 13:02:19 -0500
with message-id <E1D1pyl-0007hp-00@newraff.debian.org>
and subject line Bug#260914: fixed in nagios 2:1.3-cvs.20050116-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Jul 2004 20:34:37 +0000
>From rossen@prolibre.com Thu Jul 22 13:34:37 2004
Return-path: <rossen@prolibre.com>
Received: from adsl-fami-1-c28-p155.vtx.ch (mail.prolibre.com) [212.147.28.155] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BnkGy-0007Em-00; Thu, 22 Jul 2004 13:34:36 -0700
Received: by mail.prolibre.com (Postfix, from userid 1003)
	id 266208976E; Thu, 22 Jul 2004 22:34:31 +0200 (CEST)
From: Erik Rossen <rossen@prolibre.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: side.html has absolute paths in hrefs, breaking the "url_html_path" variable in /etc/nagios/cgi.cfg
X-Mailer: reportbug 1.50
Date: Thu, 22 Jul 2004 22:34:31 +0200
Message-Id: <20040722203431.266208976E@mail.prolibre.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: nagios-text
Version: 2:1.2-0.backports.org.1
Severity: normal

I wanted to put Nagios stuff in a non-default namespace, and I used the
"url_html_path" to do it.  For the sake of argument, lets say that I
wanted to put it /monitor rather than /nagios.  Setting the
url_html_path in /etc/nagios/cgi.cfg and adjusting the Alias directives
in /etc/nagios/apache.conf does the job just fine, EXCEPT that the links
in the sidebar do not follow the change because they are absolute links
starting with "/nagios/cgi-bin....".  If one removes all instances of
"/nagios/" from /usr/share/nagios/htdocs/side.html, everthing seems to
work correctly.

Yes, I have noticed the past bug reports about "/nagios/cgi-bin" or
"/cgi-bin/nagios".  Consider this bug and its solution a vote for the
former organistion because it permits one to easily place Nagios-related
stuff anywhere in one's web heirarchy.

Oh, and don't let the backports version of this package disturb you.
The same error of absolute coding of hrefs is in sarge (version
2:1.1-11).


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux hulk 2.4.22 #1 SMP Tue Mar 23 07:54:40 CET 2004 i686
Locale: LANG=C, LC_CTYPE=fr_CH

Versions of packages nagios-text depends on:
ii  adduser          3.47                    Add and remove users and groups
ii  apache           1.3.26-0woody5          Versatile, high-performance HTTP s
ii  apache [httpd]   1.3.26-0woody5          Versatile, high-performance HTTP s
ii  debconf          1.0.32                  Debian configuration management sy
ii  fileutils        4.1-10                  GNU file management utilities
ii  libc6            2.2.5-11.5              GNU C Library: Shared libraries an
ii  libgd2           2.0.1-10                GD Graphics Library version 2
ii  libpng2          1.0.12-3.woody.5        PNG library - runtime
ii  mailx            1:8.1.2-0.20020411cvs-1 A simple mail user agent.
ii  netsaint-plugins 1.2.9.4-18.1            Plugins for NetSaint
ii  zlib1g           1:1.1.4-1.0woody0       compression library - runtime


---------------------------------------
Received: (at 260914-close) by bugs.debian.org; 17 Feb 2005 18:08:19 +0000
>From katie@ftp-master.debian.org Thu Feb 17 10:08:19 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D1q4Z-0000MF-00; Thu, 17 Feb 2005 10:08:19 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1D1pyl-0007hp-00; Thu, 17 Feb 2005 13:02:19 -0500
From: Sean Finney <seanius@debian.org>
To: 260914-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#260914: fixed in nagios 2:1.3-cvs.20050116-3
Message-Id: <E1D1pyl-0007hp-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 17 Feb 2005 13:02:19 -0500
Delivered-To: 260914-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: nagios
Source-Version: 2:1.3-cvs.20050116-3

We believe that the bug you reported is fixed in the latest version of
nagios, which is due to be installed in the Debian FTP archive:

nagios-common_1.3-cvs.20050116-3_all.deb
  to pool/main/n/nagios/nagios-common_1.3-cvs.20050116-3_all.deb
nagios-mysql_1.3-cvs.20050116-3_i386.deb
  to pool/main/n/nagios/nagios-mysql_1.3-cvs.20050116-3_i386.deb
nagios-pgsql_1.3-cvs.20050116-3_i386.deb
  to pool/main/n/nagios/nagios-pgsql_1.3-cvs.20050116-3_i386.deb
nagios-text_1.3-cvs.20050116-3_i386.deb
  to pool/main/n/nagios/nagios-text_1.3-cvs.20050116-3_i386.deb
nagios_1.3-cvs.20050116-3.diff.gz
  to pool/main/n/nagios/nagios_1.3-cvs.20050116-3.diff.gz
nagios_1.3-cvs.20050116-3.dsc
  to pool/main/n/nagios/nagios_1.3-cvs.20050116-3.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 260914@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sean Finney <seanius@debian.org> (supplier of updated nagios package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 10 Feb 2005 22:09:43 +0000
Source: nagios
Binary: nagios-pgsql nagios-text nagios-mysql nagios-common
Architecture: source i386 all
Version: 2:1.3-cvs.20050116-3
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
Changed-By: Sean Finney <seanius@debian.org>
Description: 
 nagios-common - A host/service/network monitoring and management system
 nagios-mysql - A host/service/network monitoring and management system
 nagios-pgsql - A host/service/network monitoring and management system
 nagios-text - A host/service/network monitoring and management system
Closes: 260914 282848 288914 290243 292293 295345
Changes: 
 nagios (2:1.3-cvs.20050116-3) unstable; urgency=low
 .
   * Sean Finney:
     - finally a fix for the absolute hrefs in side.html.  thanks to
       Erik Rossen <rossen@prolibre.com> reporting this bug 203 days
       ago (closes: #260914).
     - README.pgsql already contains clarifications on the conf file
       defaults for connecting to RDBMSes.  I updated README.mysql to be
       more clear on this as well thanks to olaf for pointing out
       the discrepancy a while back (closes: #282848).
     - change permissions of update-nagios output to be readable by
       group www-data, as it broke non-setuid cgi scripts.  thanks
       to Joergen Haegg <jorgen.hagg@axis.com> for finding this
       problem (closes: #292293).
     - mkdir /etc/$apache/conf.d, not /etc/$apache/$conf in postinst.
       d'oh.  actually, we shouldn't make that director at all in the
       postscript, but list it as a directory in nagios-common.dirs.
       Thanks to Pierre (didn't get his last name and he sent mail as root)
       for this one (closes: #295345).
     - make absolutely sure that /var/log/nagios/status.log is present
       on the filesystem for nagios-text.  thanks to
       Tobias Krais <krais@bats.ch> for pointing this out (closes: #288914).
     - clarification in the postinst message for when someone chooses
       manual/no configuration of apache and htpasswd doesn't exist.
       thanks to Jamie Wilkinson <jamie@anchor.net.au> (closes: #290243).
     - added checks to prevent dpkg-statoverride from being called on
       files already in the overrides database, and also removing files not
       in the database.
Files: 
 ca70595817711b0a81fc4176b7fe026d 1021 net optional nagios_1.3-cvs.20050116-3.dsc
 fce17cc1c14a3c5b856236d187a6dfe5 76798 net optional nagios_1.3-cvs.20050116-3.diff.gz
 e7362f4a21983e32e1953c0d85c16ed4 901332 net optional nagios-text_1.3-cvs.20050116-3_i386.deb
 2c137390cdfbf2b660f8c90eb61a142a 906498 net optional nagios-mysql_1.3-cvs.20050116-3_i386.deb
 5e6b95df34652eb8f52100df3556ecac 917010 net optional nagios-pgsql_1.3-cvs.20050116-3_i386.deb
 45ab52375dec0e1cca1050aa3d170f5c 1215238 net optional nagios-common_1.3-cvs.20050116-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCFNk9ynjLPm522B0RApm3AJ9GxyMHaATuWV86N55UD7VXELqdjQCePxRR
P3gpTgmkFkLf10FDYV1iIX8=
=EvkW
-----END PGP SIGNATURE-----