[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Premature end of script headers: bb-hostsvc.sh, referer: ...



On Thu, Feb 09, 2006 at 11:33:06AM +0100, Frédéric Mangeant wrote:
> I'm having the same problem on my test system with Hobbit 4.2-pre from 
> 02/09 snapshot (snapshot from 01/31 works fine) :
> 
> $ REQUEST_METHOD=GET    REQUEST_URI=""    
> QUERY_STRING="HOSTSVC=hades.disk" /BB/hobbit/cgi-bin/bb-hostsvc.sh
> Content-type: text/html
> 
> <html><head><title>Invalid request</title></head>
> <body>Invalid request</body></html>

The input parameters for the hobbitsvc CGI are being changed,
so how does it work if you run
$ REQUEST_METHOD=GET REQUEST_URI="" QUERY_STRING="HOST=hades&SERVICE=disk" \
     /BB/hobbit/cgi-bin/bb-hostsvc.sh

(the "HOSTSVC" combo was disgusting because it required you to do the
 make-hostname-dots-into-commas dancing around for BB's sake).

But if you run the entire snapshot - i.e. you did a full "make install"
of the snapshot - then it should generate the correct URL's for you.


Henrik