Reverse Proxying notes for iPhone app

Posted on
Wed Apr 08, 2009 9:17 pm
jamus offline
Posts: 180
Joined: Dec 01, 2007

Reverse Proxying notes for iPhone app

Here are some notes I've gathered on reverse proxying for the indigo app:

1) The API goes through /serverrequest and /servercommand
2) Authentication is optional, but if enabled it needs to be Digest Method with the AuthName of "Indigo Control Server". Realm may have to be "/"
3) The server now uses app_root_path, so the iPhone app client must use /whatever_app_root_path_is/serverrequest, or write the proxy as such:

<Location /serverrequest >
ProxyPass http://localhost:8176/home/control/serverrequest
ProxyPassReverse http://localhost:8176/home/control/serverrequest
</Location>

<Location /servercommand>
ProxyPass http://localhost:8176/home/control/servercommand
ProxyPassReverse http://localhost:8176/home/control/servercommand
</Location>

4) The client can use either http or https

Edit:

Added servercommand

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron