There is a question that has been eating away at the back of my mind regarding Rails -- how does one run multiple applications on the same webserver?
Suppose I have three applications:
Normally, I could easily work on any of these three, simply by starting the WEBrick server that is neatly placed in the script directory after I generate the skeleton.
I would access them thusly, after starting their respective servers (one at a time, or on different ports:
and let the default route take them to public/index.html.
Now, the $1,000,000 question is:
How can I set up my (WEBrick, if possible) server so that I can have all three applications running at the same time, on the same port?
Further, how can I set up my WEBrick/Apache server so that I can have (say) a rails application in
and a regular CGI ruby application in