[Nagios-devel] config.inc.php bug + patch

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] config.inc.php bug + patch

Post by Guest »


In 3.1 I noticed that URL's in the sidebar were coming up with double
slashes, i.e.:

https://192.168.140.188/nagios/cgi-bin/ ... ustypes=28

The problem is an extra trailing slash in html/config.inc.php which is
unnecessary:

--- config.inc.php 2009-03-04 17:01:10.000000000 -0500
+++ config.inc.php.new 2009-03-04 17:01:01.000000000 -0500
@@ -4,7 +4,7 @@

$cfg['cgi_config_file']='/etc/nagios/cgi.cfg'; // location of the CGI
config file

-$cfg['cgi_base_url']='/nagios/cgi-bin/';
+$cfg['cgi_base_url']='/nagios/cgi-bin';


// FILE LOCATION DEFAULTS

--
================================
David Halik
System Administrator
OIT-CSS Rutgers University
[email protected]
================================






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked