On 12 March 2012 16:39, Jack Palfrey <span dir="ltr">&lt;<a href="mailto:jack.palf@gmail.com">jack.palf@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Currently I have RabbitMQ running fine, can pass messages around different machines using the AMQP gem, but can&#39;t get a browser application hosted elsewhere to join in; cross-domain policy stuff kicks in. Unfortunately I can&#39;t move the application or the queues to the same host.</blockquote>
<div><br>It sounds like you want to set up a reverse-proxy type thing to graft the JSON-RPC plugin&#39;s portion of HTTP space into the HTTP space of your main webapp. Perhaps something like Apache&#39;s &quot;ProxyPass&quot; directive.<br>
<br>Here&#39;s a lightly-edited stanza from one of my Apache configs:<br><br>    ProxyPass /rpc <a href="http://localhost:55672/rpc">http://localhost:55672/rpc</a><br>    ProxyPassReverse /rpc <a href="http://localhost:55672/rpc">http://localhost:55672/rpc</a><br>
<br>Regards,<br>  Tony<br></div></div>-- <br>Tony Garnock-Jones<br><a href="mailto:tonygarnockjones@gmail.com" target="_blank">tonygarnockjones@gmail.com</a><br><a href="http://homepages.kcbbs.gen.nz/tonyg/" target="_blank">http://homepages.kcbbs.gen.nz/tonyg/</a><br>