Trying to get the mobile app working with our Deadline 6 setup and I’m really close. Trying to figure out where I need to pre-pend cgi-bin as per the instructions on the site:
“you must prepend ‘\cgi-bin\’ to the URI regular expression test in the scripts.”
I’ve made multiple attempts but nothing seems to work when I add cgi-bin to this line in the Mobile_GetJobs script:
Thanks Edwin, I dropped this little project for a while but have recently picked it back up. I’m still not sure how the Pulse server or the proxy know where the other is. Using your new script has moved me a bit forward but now I have an odd permissions issue. I have another script (awstats) in my cgi-bin folder and that is working so not sure what the deal is. I’m not even sure how to ask you where I go from here. Ha.
Good catch. I definitely managed to remove the host variable in there… Change 127.0.0.1 to the right host name or IP address.
I’ve added it back in here. The proxy opens a TCP socket to Pulse and puts a really really simple HTTP request in. Any response coming from Pulse gets pushed back to the requester, then the script exits.
If it’s a permissions error, it might be that the script is not executable by the web server if it’s running on a Unix machine. CGI scripts are run as stand alone programs by the web server. The server puts everything the requesting client sent to the program’s standard input, and pipes everything from the programs standard output back to the requesting client. It’s simple, but it works.