I'm trying to setup a separate shindig server to support multiple other apps/containers/embedded gadgets on different servers.

I can get this to work with apache mod_rewrite in front of my primary apps; rewriting /social/* and /gadgets/* to my shindig server.

This works OK, but is a bit cumbersome for a dev environment. Was hoping to be able to configure which shindig server to hit at runtime in the app, rather than with rewrites.

I have tried hardcoding to the shindig server from the container....
http://shindig.svr:9120/gadgets/js/shindig-container:rpc.js?c=1&debug=1&nocache=1
Then forcing serverBase, but that only seems to affect the /gadgets path (plus breaks cross-context)

I am working off of svn-trunk.

Has anyone else done something similar, but more cleanly?

Thanks

Reply via email to