On Mon, 2008-02-25 at 20:19 +0100, Lucas Campbell wrote:
> I am deploying an application to several sub domains and need to set a
> global variable in each sub domain so that I query the correct table
> based on the sub domain. 

Hm, sounds like something you could do in a controller - just check the
"Host" header of the incoming HTTP request.

Yours,

tom



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to