On 25 February 2011 08:17, Maxo <[email protected]> wrote:
> Thank you Jon, but I am more looking for a simpler solution, because
> in the real world scenario I will have 10 different domains, so I have
> to split the traffic for each of them to different URL.

Why?

Colin

>
> On Feb 25, 8:46 am, Jon Kern <[email protected]> wrote:
>> have you looked at mongrel clustering for example?
>>
>> -- jonhttp://technicaldebt.com
>>
>> On Feb 24, 1:49 pm, Maxo <[email protected]> wrote:
>>
>>
>>
>> > Hello,
>>
>> > I am developing a rails application and have encountered the problem
>> > of splitting up traffic coming to the domain. As an example, I would
>> > like to mention that let's say we have 5 visitors per day to the
>> > domain. We want to split the traffic and redirect them to different
>> > locations:
>>
>> > example.com - Redirecting each visitor to different URL
>>
>> > Visitors 1 is redirected to - redirect_to("http://www.example1.com/";)
>> > Visitors 2 is redirected to - redirect_to("http://www.example2.com/";)
>> > Visitors 3 is redirected to - redirect_to("http://www.example3.com/";)
>> > Visitors 4 is redirected to - redirect_to("http://www.example4.com/";)
>> > Visitors 5 is redirected to - redirect_to("http://www.example5.com/";)
>>
>> > Any idea how this can be accomplished?
>>
>> > Thanks a lot in advance
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to