Topic: How to deploy several apps on a single server
I'm a fairly new Rails newbie.
Ok, now I have 2 rails apps. Let's say I use a forum and a gallery. I have two questions:
1. How do I deploy these 2 apps on the same server like for example: host.com/forum and host/gallery? Is it possible? Do I have to play with mod_rewrite? Do I have to make virtual hosts forum.host.com and gallery.host.com instead? Where can I find example of such setup?
2. Suppose I'm a internet provider of some sort. How can I offer the same application to several customers? Do I have to copy it several times (??). I'd rather have a a set of config files and start from different files. How would special files like logs, etc. coexists? Again, where can I find information on such setup?
Thanks for your input.