On Jul 2, 2014, at 2:06 PM, Liz Huang wrote:
> will need to figure out how to set up multiple rails apps by sub URI.
If you've ever configured Apache for multiple name-based virtual hosts, you will have already done this. I host many Rails apps (non-critical) on my staging server, and Passenger makes it trivial to add another one. Just add the virtual host config file, make sure that the Directory statement therein points to the new app's public folder, and you're done.
As long as these sites aren't popular, there's really no limit to the number of them you can run, because Passenger will allow them to spin down if they don't get any requests, and you will get your memory back to use elsewhere. Of course if they all get crawled by Google at once, your server WILL fall over.
Walter
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/FDAD4B58-3A54-485E-B129-6D778B6DEC6A%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.