I dunno about the PHP impl, but the Java impl is explicitly designed for
such uses -- this is where the idea of "container configuration files" comes
from.

On Mon, Mar 29, 2010 at 12:47 PM, Harris Wong <[email protected]>wrote:

> Hi all,
>
> According to
> http://www.mail-archive.com/[email protected]/msg11731.html,
> I can host multiple social sites on 1 shindig.  Within
> shindig/php/config/local.php, I can specify the SPI paths and the
> extension_class_paths.  However, those are hardcoded on the shindig server.
>  How do I dynamically load the local.php based on the requested server?
> ie.
> http://al...@server_1 -> shindig -> loads Server_1's local.php -> returns
> Server_1 data (alice's friends)
> http://j...@server_2 -> shindig -> loads Server_2's local.php ->returns
> Server_2 data (joe's friends)
>
> My situation now is,
> http://al...@server_1 -> shindig -> local.php -> returns Server_1 data
> (alice's friends)
> http://j...@server_2 -> shindig -> local.php -> returns Server_1 data
> (alice's friends)
>
> Thanks!
>
>
> Regards,
> Harris Wong
>
> --
> Harris Wong
> Accessible Software Developer
> Adaptive Technology Resource Centre, University of Toronto
> 130 St. George Street
> Toronto, ON, M5S 1A5
>
>

Reply via email to