<br><br>I recently ran into an issue when trying to deploy a SOLO app to a host which is not running <br>the LPS server. I need to access 3rd party data and images from a server, and due to security<br>policy in Flash and DHTML runtimes, need a proxy server living on the same host that my app is served from.
<br><br>There have been a couple of different PHP HTTP proxies written, and I'd like to add support to our<br>data API to specify an explicit URL for the proxy server. Currently it is implicitly generated using<br>LzBrowser.getBaseURL
( ) as the url. <br><br>I propose adding a "proxyhost" attribute to dataset, which specifies the host to forward requests to. <br>HTTP requests would still be formatted using the existing LZX proxy protocol, so the server to
<br>which you point would be expected to look like an LZX server for purposes of requests which are marked<br>as lzt=data or lzt=media. However, it would not be necessary for the proxy server to support all the optional args
<br>such as cache control or header forwarding. <br><br>The syntax would look like this<br><br>
<dataset name="mydata" proxyhost="myproxy.php"/> for a relative url or<br><br>
<dataset name="mydata" proxyhost="/myproxy.php"/> relative to host server root directory<br><br><dataset name="mydata" proxyhost="<a href="http://myhost.com/proxy/myproxy.php">
http://myhost.com/proxy/myproxy.php</a>"/> for an absolute url (needs to be<br>on same host as app served from for default security policy of most browsers)<br><br>Another option would be some global canvas setting
<br><br><atttribute name="proxyhost" value="/myproxy.php"/><br><br>or<br><br><canvas proxyhost="/myproxy.php"><br><br><br><br><br><br><br><br><br><br clear="all"><br>-- <br>Henry Minsky
<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>