How can I access one rails application through more virtual hosts. The different virtual hosts would differ in the database, images, stylesheets and in some cases the layout of the views. What do you recommend for realisation of serving multiple applications by one rails code, which is accessed through different virtual hosts? Ideally I''d like to: * I prefer rails to distinguish which db/styles/images/layouts have to use based on the host name. * There may be different rails applications running, but above the same code. * Db connections might be established during the application initiation. I am wondering which layer the rails app should recognise the host? Should it be on the middleware, in boot scripts or elsewhere? Thanks for your help, Georg -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.