From mlowery@alliedtechgroup.com Wed Jun 24 08:12:08 2026
From: mlowery@alliedtechgroup.com
To: xymon@xymon.com
Subject: Problem with .sh files
Date: Mon, 14 Feb 2005 13:12:11 -0600
Message-ID: <40534FFD21F8E9428DD8CCF2B60B09EC6E8F54@atlitdc01.atg.local>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3606596563795303472=="
--===============3606596563795303472==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Moving from BB to Hobbit.
The problem I'm having is everytime I click on an icon that references
one of the .sh files, it tries to download it.
The problem does not happen in BB or any other webpage on this box.
When trying to run bb-hostsvc.sh manually, I get:
[root at host cgi-bin]# ./bb-hostsvc.sh
2005-02-14 13:11:09 xgetenv: Cannot find value for variable QUERY_STRING
Content-type: text/html
Invalid request
Invalid request
Can anyone point me in the right direction to solve this?
Thank you,
Michael Lowery
--===============3606596563795303472==--
From henrik@hswn.dk Wed Jun 24 08:12:08 2026
From: henrik@hswn.dk
To: xymon@xymon.com
Subject: [hobbit] Problem with .sh files
Date: Mon, 14 Feb 2005 22:34:45 +0100
Message-ID: <20050214213445.GB6546@hswn.dk>
In-Reply-To: <40534FFD21F8E9428DD8CCF2B60B09EC6E8F54@atlitdc01.atg.local>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6888416047191071328=="
--===============6888416047191071328==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
On Mon, Feb 14, 2005 at 01:12:11PM -0600, Lowery, Michael wrote:
> Moving from BB to Hobbit.
>
> The problem I'm having is everytime I click on an icon that references
> one of the .sh files, it tries to download it.
Sounds like a problem with your webserver setup. Make sure you have
setup the "ScriptAlias" settings for the Hobbit cgi-bin and cgi-secure
directories. See how to do it in ~/server/etc/hobbit-apache.conf
> When trying to run bb-hostsvc.sh manually, I get:
>
> [root at host cgi-bin]# ./bb-hostsvc.sh
> 2005-02-14 13:11:09 xgetenv: Cannot find value for variable
> QUERY_STRING
CGI script really are meant to be run by the webserver, which provides
a bunch of standard environment variables.
Henrik
--===============6888416047191071328==--