Hi Henrik (and others that helped)
I found the solution on this rather strange and obscure web site. :-) http://www.hswn.dk/hobbiton/2006/01/msg00015.html
It's all fixed now.
Regards Vernon
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Friday, 21 July 2006 2:59 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Web server or hobbit?
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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk