<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Josh Luthman wrote:
<blockquote
 cite="mid:961092e10803271543m52dd9afm7b2075e20aa81173@mail.gmail.com"
 type="cite">* See if you can telnet from your bb server to port 80 of
your phone
(in this case <a moz-do-not-send="true" href="http://172.16.0.152/"
 target="_blank">172.16.0.152</a>)<br>
-> telnet <a moz-do-not-send="true" href="http://172.16.0.152">172.16.0.152</a>
80<br>
Does this look the same as yours?<br>
</blockquote>
Yep<br>
<blockquote
 cite="mid:961092e10803271543m52dd9afm7b2075e20aa81173@mail.gmail.com"
 type="cite"><br>
* Make sure that the apache user can execute the bb command (in this
case /home/shire/server/bin/bb)<br>
-rwxrwxrwx 1 hobbuzer hobbituzer 216177 Nov 23 09:56 bb<br>
  <br>
</blockquote>
More perms than needed, but that definitely should work (next version
won't need bb binary at all).<br>
<blockquote
 cite="mid:961092e10803271543m52dd9afm7b2075e20aa81173@mail.gmail.com"
 type="cite">* Make sure that the hobbit.cgi is accessible, and that
its working
properly (from your browser go to <a moz-do-not-send="true"
 href="http://74.218.x.x/perl/hobbit.cgi" target="_blank">http://74.218.x.x/perl/hobbit.cgi</a>
and
you should get some XML code back in your browser window)<br>
Here is probably my problem, all I get is a white page.  </blockquote>
Sorry, I should have specified the full URL to try as
<a class="moz-txt-link-freetext" href="http://72.218.x.x/perl/hobbit.cgi?action=execute_push">http://72.218.x.x/perl/hobbit.cgi?action=execute_push</a><br>
That should give you some XML.  without that action parameter you will
indeed get a blank page.<br>
<br>
<blockquote
 cite="mid:961092e10803271543m52dd9afm7b2075e20aa81173@mail.gmail.com"
 type="cite">I have nothing in error_log but I get a (I believe it to
be) normal access_log entry:<br>
  <a moz-do-not-send="true" href="http://172.16.0.153">172.16.0.153</a>
- - [27/Mar/2008:18:21:25 -0400] "GET /perl/hobbit.cgi HTTP/1.1" 200 -
"-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:<a
 moz-do-not-send="true" href="http://1.8.1.13">1.8.1.13</a>)
Gecko/20080311 Firefox/2.0.0.13"<br>
</blockquote>
Yep, that's normal for hitting it from your browser.<br>
<blockquote
 cite="mid:961092e10803271543m52dd9afm7b2075e20aa81173@mail.gmail.com"
 type="cite"><br>
* do a tail -f of your apache access_log, and see if you get a hit from
the IPPhone when you run hobbit.cgi, you should see something like
this: <a moz-do-not-send="true" href="http://10.216.100.54/"
 target="_blank">10.216.100.54</a> - - [23/Mar/2008:04:21:36 -0700]
"GET
/perl/hobbit.cgi?action=execute_push HTTP/1.1" 200 260 "-"
"Allegro-Software-WebClient/3.12"<br>
-> /var/www/perl/hobbit.cgi && grep 172\.16\.0\.152
access_log<br>
-><br>
Is empty =(<br>
  <br>
>From what I can understand is that the hobbit.cgi is not telling the
phone to access the page.  Is this right?<br>
</blockquote>
Right, so there is either something in the script breaking, a CGI
issue,  or possibly you can connect to IPPhone, but some network acl
prevents the IPPhone from connecting to your cgi host. Once you do the
test above and get XML back or not, that will tell us where to look
next.<br>
<br>
You may want to make a helloworld.cgi that just has:<br>
print "Hello World!\n";<br>
<br>
and see if you can hit <a class="moz-txt-link-freetext" href="http://72.218.x.x/perl/helloworld.cgi">http://72.218.x.x/perl/helloworld.cgi</a> and see
the message in your browser...this will tell us if your mod_perl is
configured properly.<br>
<br>
-Charles<br>
</body>
</html>