I just create two separate folders but have them point to the same svn repository. Then I have a file called skin.yml (not checked in) that contains any data that differentiates them. So the files are duplicated, but they are always in sync because I deploy both sites in parallel.
On Thu, Mar 31, 2011 at 2:00 PM, Norm Scherer <[email protected]> wrote: > On 03/31/2011 10:17 AM, Walther Diechmann wrote: > > Hi, > > I've been googling quite a bit - but up until now to no use :( > > My problem is how to configure Apache conf (and perhaps Passenger) for > this setup to work: > > <VirtualHost *:80> > ServerName oxen.company_A.com > DocumentRoot /var/www/html/oxen/sites/company_A/public > PassengerAppRoot /var/www/html/oxen > SetEnv OXID 23 > </VirtualHost> > > <VirtualHost *:80> > ServerName oxen.company_B.com > DocumentRoot /var/www/html/oxen/sites/company_B/public > PassengerAppRoot /var/www/html/oxen > SetEnv OXID 25 > </VirtualHost> > ...et > > That is - I'd like a few customers run off the same codebase (which will > segment them on the OXID) and still offer each customer 'his' own public > with css, javascripts, images, uploaded files etc -- 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 [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-talk?hl=en.

