[Mongrel] VirtualHost like in the Apache-PHP world
hassan.schroeder at gmail.com
Thu Mar 25 17:43:32 EDT 2010
On Thu, Mar 25, 2010 at 2:04 PM, James Tucker <jftucker at gmail.com> wrote:
> map "http://domain1.com/" do
> run App1.new
> map "http://domain2.com/" do
> run App2.new
> I see a way to do it.
OK, I've never used Rack as a standalone entity; how exactly does
this work in a Rails context?
Say, I have a directory structure like
where both app1 and app2 are Rails apps.
Where does the above code go, and what exactly would I be invoking?
Hassan Schroeder ------------------------ hassan.schroeder at gmail.com
More information about the Mongrel-users