URL Bugs?
list Malcolm Hunter
Hi, I've had a scour to see if this has been addressed before and I can't find anything. My Xymon URL begins with /xymon and all pages are displayed properly except Ghost Clients and Notification Log. Both pages are missing the menu and the style is messed up. I've tracked down the cause - they are both looking in /hobbit/menu and hobbit/gifs for the menu.css and gifs respectively. It seems the cgi scripts are setting BBMENUSKIN and BBSKIN incorrectly. Any ideas? (I have checked the config files too). Thanks, Malcolm -- Technical copy-editor & proofreader KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
list Larry Barber
A quick fix would be create some sym-links to the correct files. Thanks, Larry Barber
▸
On Tue, Mar 10, 2009 at 3:38 PM, Malcolm Hunter <user-b3e590ffeb6d@xymon.invalid>wrote:
Hi, I've had a scour to see if this has been addressed before and I can't find anything. My Xymon URL begins with /xymon and all pages are displayed properly except Ghost Clients and Notification Log. Both pages are missing the menu and the style is messed up. I've tracked down the cause - they are both looking in /hobbit/menu and hobbit/gifs for the menu.css and gifs respectively. It seems the cgi scripts are setting BBMENUSKIN and BBSKIN incorrectly. Any ideas? (I have checked the config files too). Thanks, Malcolm -- Technical copy-editor & proofreader KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
list Malcolm Hunter
▸
I've had a scour to see if this has been addressed before and I can't find anything. My Xymon URL begins with /xymon and all pages are displayed properly except Ghost Clients and Notification Log. Both pages are missing the menu and the style is messed up. I've tracked down the cause - they are both looking in /hobbit/menu and hobbit/gifs for the menu.css and gifs respectively. It seems the cgi scripts are setting BBMENUSKIN and BBSKIN incorrectly. Any ideas? (I have checked the config files too).
By the way, I have used a workaround: ln -s $BBHOME/server/www/ [Apache's DocumentRoot]/hobbit I now have a menu on these two pages! :)
▸
Malcolm -- Technical copy-editor & proofreader KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
list Daniel J McDonald
▸
On Tue, 2009-03-10 at 21:38 +0100, Malcolm Hunter wrote:
Hi, I've had a scour to see if this has been addressed before and I can't find anything. My Xymon URL begins with /xymon and all pages are displayed properly except Ghost Clients and Notification Log. Both pages are missing the menu and the style is messed up.
Actually, I posted about this very issue this morning. You have to edit
lib/environ.c since it is hardcoded in there.
My patch:
diff -urN xymon-4.3.0-beta1/lib/environ.c xymon-4.3.0-beta1-djm/lib/environ.c
--- xymon-4.3.0-beta1/lib/environ.c 2009-02-08 11:42:13.000000000 -0600
+++ xymon-4.3.0-beta1-djm/lib/environ.c 2009-03-09 12:01:30.000000000 -0500
@@ -31,9 +31,9 @@
{ "BBSERVERIP", BBHOSTIP },
{ "BBSERVEROS", BBHOSTOS },
{ "BBSERVERWWWNAME", BBHOSTNAME },
- { "BBSERVERWWWURL", "/hobbit" },
- { "BBSERVERCGIURL", "/hobbit-cgi" },
- { "BBSERVERSECCGIURL", "/hobbit-cgisecure" },
+ { "BBSERVERWWWURL", "/xymon" },
+ { "BBSERVERCGIURL", "/xymon-cgi" },
+ { "BBSERVERSECCGIURL", "/xymon-cgisecure" },
{ "BBLOCATION", "" },
{ "PATH", "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:"BUILD_HOME"/bin" },
{ "BBPORT", "1984" },
▸
I've tracked down the cause - they are both looking in /hobbit/menu and hobbit/gifs for the menu.css and gifs respectively. It seems the cgi scripts are setting BBMENUSKIN and BBSKIN incorrectly. Any ideas? (I have checked the config files too). Thanks, Malcolm
--
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX Austin Energy http://www.austinenergy.com
list Malcolm Hunter
▸
Actually, I posted about this very issue this morning. You have to edit lib/environ.c since it is hardcoded in there. My patch:
Ah thanks. I see this has been fixed in 4.3 and 4.4 just not backported.
▸
Malcolm -- Technical copy-editor & proofreader KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01