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