[hobbit] Web server or hobbit?
Henrik Stoerner
henrik at hswn.dk
Fri Jul 21 08:58:44 CEST 2006
On Fri, Jul 21, 2006 at 01:09:59PM +0800, Everett, Vernon wrote:
> Hi all
>
> I am installing a new Hobbit server, running 4.1.2p1 on Solaris 10 with
> Apache 2.2.0
> It's starting to look good. I get the main hobbit page come up, and many
> green faces smiling at me.
> However, whenever I click on a face, or any menu option that runs a
> script, my browser opens a dialogue box and wants to start a download.
> :-(
If you do download it, then what's in the file - a shell script, or
an HTML document ?
If it's a shell script, then your cgi directories are not seen as such,
and you're just getting the shell script sent back to you as a plain
file. If it's an HTML document, then the CGI program runs and generates
the correct response - in that case, I suspect that your webserver
doesn't provide the right Content-type header, although the Hobbit CGI
programs all try their best to set this correctly.
If you've got something like "curl" installed then running
curl -i http://hobbit-cgi/..... |more
will show you the headers sent by the webserver. If you dont have that,
then you can just telnet to the webserver on port 80, and send it
GET http://hobbit-cgi/.....
<hit enter twice>
Regards,
Henrik
More information about the Xymon
mailing list