From jkwade@futurefrontiers.com Wed Jun 24 08:14:32 2026 From: jkwade@futurefrontiers.com To: xymon@xymon.com Subject: Data, bb-hostsvc.sh Date: Thu, 09 Nov 2006 17:00:55 -0600 Message-ID: <006401c70452$eafdf610$6b2fb8a5@txaccess.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3127069934225719377==" --===============3127069934225719377== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit I need some help. I've searched the Archives for a solution, but I haven't been able to find one. When I click on "Client data Available", I get a pop up window saying "Unknown File Type". I open the file with word, and everything looks fine, except no HTML headers or footers. Everything else is working, and this function was working. It just stopped. I've double checked my httpd.conf in apache, and I haven't changed it since the original install. (I added all the AddHandlers, etc. as described in the install docs) I've checked privileges, and I haven't changed those either since the original install. I can execute the hobbitsvc.cgi script and it gives me: Content-type: text/html Invalid request Invalid request I've seen this problem reported in the lists, but with no definite fix action. Help would really be appreciated. Has anyone else seen this just stop working and not recognizing the File Type? When you open the Doc, all the information is there, but the HTML headers are not. I suspect that the hobbitsvc.cgi script is not pulling the HTML headers, but I also checked and they are there. Thanks..James --===============3127069934225719377==-- From henrik@hswn.dk Wed Jun 24 08:14:32 2026 From: henrik@hswn.dk To: xymon@xymon.com Subject: [hobbit] Data, bb-hostsvc.sh Date: Fri, 10 Nov 2006 07:37:41 +0100 Message-ID: <20061110063741.GA30067@hswn.dk> In-Reply-To: <006401c70452$eafdf610$6b2fb8a5@txaccess.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8507534088882821312==" --===============8507534088882821312== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Thu, Nov 09, 2006 at 05:00:55PM -0600, James Wade wrote: > When I click on "Client data Available", I get a pop up window > saying "Unknown File Type". I open the file with word, and > everything looks fine, except no HTML headers or footers. The client data is a plain-text document. > Everything else is working, and this function was working. > It just stopped. I've double checked my httpd.conf in apache, > and I haven't changed it since the original install. (I added > all the AddHandlers, etc. as described in the install docs) > > I've checked privileges, and I haven't changed those either > since the original install. I can execute the hobbitsvc.cgi > script and it gives me: To really execute it, you need to set the environment variables that your webserver normally provides. I.e. REQUEST_METHOD=GET \ SCRIPT_NAME=bb-hostsvc.sh \ QUERY_STRING="CLIENT=my.host.name" \ ~hobbit/cgi-bin/bb-hostsvc.sh You'll see then that it begins with Content-type: text/plain client voodoo,hswn,dk.linux [date] Fri Nov 10 07:25:36 CET 2006 so your browser is getting a "text/plain" document back, and for some reason will not render this by itself. Apparently, this happens *sometimes* with Internet Explorer. I don't know what causes it, though - my guess is some policy setting that only permits text/html to be rendered in the browser. Regards, Henrik --===============8507534088882821312==--