Re: [Mongrel] VirtualHost like in the Apache-PHP world

2010-03-25 Thread James Tucker
On 25 Mar 2010, at 14:34, Nagy Tamás wrote: Thank you Hassan, James! So i will need one mongrel per domain. I think I can't carry out this because I have a thousands of domains. That sounds like a recipe for out of memory errors and cross-application errors taking down the whole set at

Re: [Mongrel] VirtualHost like in the Apache-PHP world

2010-03-25 Thread James Tucker
On 25 Mar 2010, at 14:52, Jonathan Rochkind wrote: Do you want a seperate app per domain, or do you want one app handling multiple domains? If you want a seperate app per domain, I think you'd need a mongrel per domain too, I don't see any other way to do it. map http://domain1.com/; do

Re: [Mongrel] VirtualHost like in the Apache-PHP world

2010-03-25 Thread Hassan Schroeder
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?