I've an app that uses the HTTP_HOST header from the request to query a site
from the database and set the view path to /themes/{site_id} per request. So
that's how I've created a multisite app.On Fri, Nov 21, 2008 at 9:26 AM, Redd Vinylene <[EMAIL PROTECTED]>wrote: > > On Fri, Nov 21, 2008 at 6:24 AM, bergstyle <[EMAIL PROTECTED]> wrote: > > > > anybody have strategies for serving multiple sites from one merb > > application? my goal is to share my models and data store across a > > number of sites and have one backend to manage them all. each site > > will have it's own layout, views and controllers. > > > > the end result will be a bunch of niche e-commerce sites managed by > > one admin interface. > > > > I've long wanted the same thing. Perhaps we could get together and > make a demo app? > > -- > http://www.home.no/reddvinylene > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
