* See if you can telnet from your bb server to port 80 of your phone
(in this case <a href="http://172.16.0.152/" target="_blank">172.16.0.152</a>)<br>-> telnet <a href="http://172.16.0.152">172.16.0.152</a> 80<br>Trying 172.16.0.152...<br>Connected to <a href="http://172.16.0.152">172.16.0.152</a> (<a href="http://172.16.0.152">172.16.0.152</a>).<br>
Escape character is '^]'.<br>get / http/1.1<br><br>HTTP/1.1 405 Method Not Allowed<br>Allow: GET, HEAD, POST<br>Content-Length: 0<br>Server: Allegro-Software-RomPager/3.12<br><br>Connection closed by foreign host.<br>
<br>Does this look the same as yours?<br><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>
* Make sure that the hobbit.cgi is accessible, and that its working
properly (from your browser go to <a 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.  I have nothing in error_log but I get a (I believe it to be) normal access_log entry:<br><a 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 href="http://1.8.1.13">1.8.1.13</a>) Gecko/20080311 Firefox/2.0.0.13"<br>
<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 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>
<br><br><div class="gmail_quote">On Thu, Mar 27, 2008 at 3:40 PM, Charles Jones <<a href="mailto:jonescr@cisco.com">jonescr@cisco.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000"><div class="Ih2E3d">
Josh Luthman wrote:
<blockquote type="cite">our $IPPHONE = "<a href="http://172.16.0.152" target="_blank">172.16.0.152</a>";<br>
our $USER = '9375522343';<br>
our $PASSWORD = 'joshisthebestpersonintheworld';<br>
our $display_colors="yellow,red";<br>
our $showgreen=1;<br>
our $BBDISPLAY="<a href="http://bbserver.imaginenetworksllc.com" target="_blank">bbserver.imaginenetworksllc.com</a>";<br>
our $BB="/home/shire/server/bin/bb";<br>
our $CGI_HOST="74.218.x.x";<br>
our $CGI_URL=<a href="http://$CGI_HOST/perl/hobbit.cgi" target="_blank">"http://$CGI_HOST/perl/hobbit.cgi"</a>;<br>
our $refresh_timer=0;<br>
our $alert_sound="ring6.raw";<br>
our $play_alert=1;<br>
  <br>
Does this configuration look right?  I execute it at the prompt as the
cron job would and I don't get anything on my phone =(<br>
</blockquote></div>
That looks fine to me. Things you should double-check:<br>
* See if you can telnet from your bb server to port 80 of your phone
(in this case <a href="http://172.16.0.152" target="_blank">172.16.0.152</a>)<br>
* Make sure that the apache user can execute the bb command (in this
case /home/shire/server/bin/bb)<br>
* Make sure that the hobbit.cgi is accessible, and that its working
properly (from your browser go to <a 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>
* 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 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>
<br>
-Charles<br>
<br>
</div>

</blockquote></div><br><br clear="all"><br>-- <br>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br><br>Those who don't understand UNIX are condemned to reinvent it, poorly.<br>
--- Henry Spencer