On Thu, Mar 25, 2010 at 2:04 PM, James Tucker <jftuc...@gmail.com> wrote:

> map "http://domain1.com/"; do
>  run App1.new
> end
>
> map "http://domain2.com/"; do
>  run App2.new
> end
>
> 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

  /webapps/app1
  /webapps/app2

where both app1 and app2 are Rails apps.

Where does the above code go, and what exactly would I be invoking?

-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to