Ok, then it will be Rack. anyway, i want to use the whole ruby as php:
example.tld/rubyscript1.rbexample.tld/rubyscript2.rbexample2.tld/rubyappexample2.tld/rubyapp/rubyscript.rb
where also works any Rails app..
a href=http://ad.adverticum.net/b/cl,1,73468,1598288,1592431/click.prm;
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
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
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?
How to make virtual hosts in mongrel?
::how to serve example1.tld, example2.tld, .. exampleN.tld#39;s different ruby
apps?
thanks in advence
frikazojd.
a href=http://ad.adverticum.net/b/cl,1,73468,1598288,1592431/click.prm;
You do it all in Apache. Typical way to deploy mongrel is fronted with
an Apache reverse proxy. You need to set up everything in Apache, and
have the right requests proxied to the right mongrel. It's all about
apache, no config in Mongrel.
You may also want to consider mod_rails/passenger
Thank you, Jonathan! but i#39;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
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