Forum: Ruby on Rails Mongrel + Lighty + Multiple Rails Apps : How to Route ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
3203ed0e608d3bfae1e31282e629ffa2?d=identicon&s=25 Peter Fitzgibbons (Guest)
on 2006-03-21 18:13
(Received via mailing list)
Hello all,

I'm using Lighty-Win32 and Mongrel.  I have one rails app working
http://hostname/.  I want to know how to route lighty and my app to
http://hostname/appname1.  I have multiple apps that I would eventually
to route with http://hostname/appname2, http://hostname/appname3, etc.
I am
not trying to "productize", these are separate distinct apps that I'm
to serve from the same host.  If subdomaining is a better solution,

Thank you all for your help!

F0d09ef2a279cae4ac312164aa1af6d3?d=identicon&s=25 Ian Connor (Guest)
on 2006-04-11 01:37
(Received via mailing list)
I have not tried this with lighty but I imagine the problem might be
related. It seems to set the session scope via the hostname and so if
are doing authetication, separate domains might be safer. Otherwise, you
might have user id 1 in one app take user id 1 in another app. If they
separate domains, then the cookie is different and the sessions cannot

If I am wrong here, I would love to be corrected but I am reasonably
this is how it works.
This topic is locked and can not be replied to.