[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Hobbit to IPPhone Beta
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Hobbit to IPPhone Beta
- From: "Josh Luthman" <josh (at) imaginenetworksllc.com>
- Date: Fri, 28 Mar 2008 08:40:22 -0400
- References: <47CC7331.2000704 (at) cisco.com> <47E42880.1040802 (at) cisco.com> <0AA61DE0E6F8D14EBA8ABB66E695C5550137F7FD (at) RDEX01.ads.mobilcom.de> <a60f25fc0803261435p74be6febg84a2f68e305c3180 (at) mail.gmail.com> <961092e10803261509n2e10521evd5b4ebfee83d626f (at) mail.gmail.com> <47EBF842.1030407 (at) cisco.com> <961092e10803271543m52dd9afm7b2075e20aa81173 (at) mail.gmail.com> <47EC31F3.90705 (at) cisco.com> <961092e10803271659g718b4921u1108a2280f156687 (at) mail.gmail.com> <47ECC04D.3030002 (at) cisco.com>
I think you're getting the two people with two problems mixed up. I'm not
getting anything to the phone when I execute hobbit.cgi. Another person is
getting error 6.
On Fri, Mar 28, 2008 at 5:54 AM, Charles Jones <jonescr (at) cisco.com> wrote:
> Josh Luthman wrote:
>
> I did get XML from that full URL, among other things I learned that
> <Prompt>It's not easy being green :-)</Prompt>
>
> Heh, okay that's good as it seems the code is working properly.
>
> Now I did a helloworld.cgi that looks like:
> #!/usr/bin/perl
> print "Hello World!\n";
>
> and I get an HTTP 500 error
> [Thu Mar 27 19:57:35 2008] [error] [client 172.16.0.153] malformed header
> from script. Bad header=Hello World!: hellowworld.cgi
> [Thu Mar 27 19:57:35 2008] [warn] /perl/hellowworld.cgi did not send an
> HTTP header
>
> So either my helloworld.cgi is wrong or mod_perl is confused, I think.
>
> Oh yeah sorry....for it to work properly it should be:
>
> print "Content-type: text/plain\n\n";
> print "Hello World!\n";
>
> ... But I think your mod_perl is already working, otherwise you wouldn't
> have gotten any XML back from your previous test.
> Tell me more about this Error Number=6. Where is it being displayed? I
> have gone through all the Cisco docs, and according to them there are only
> errors 1,2,3, & 4. What model phone do you have?
>
> -Charles
>
--
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer