On 12 March 2012 16:39, Jack Palfrey <span dir="ltr"><<a href="mailto:jack.palf@gmail.com">jack.palf@gmail.com</a>></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't get a browser application hosted elsewhere to join in; cross-domain policy stuff kicks in. Unfortunately I can'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's portion of HTTP space into the HTTP space of your main webapp. Perhaps something like Apache's "ProxyPass" directive.<br>
<br>Here'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>