On 24 Mar 2010, at 22:13, Hassan Schroeder wrote: > 2010/3/24 Nagy Tamás <frikaz...@freemail.hu>: > >> but i'd like to try out Mongrel.. >> so, I set the apache with mod_proxy.. i think it should forward the request >> to mongrel, localhost:3000.. but how will the mongrel figure out where are >> the ruby apps? it will get a request for example.tld or example6.tld and >> example4.tld at the same time.. .. ?? > > You need to have at least one mongrel instance per domain, and set > up your httpd proxy accordingly.
Actually, you can use rack to do it: map "http://domain1/" do run App1 end map "http://domain2/" do run App2 end Then specify multiple vhost aliases in the apache proxy configuration > > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > twitter: @hassan > _______________________________________________ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users