| Rails411 |
| How To Set The Base URLs Of Your Rails Apps |
|
The default rails Installation Instructions walks you though setting up a single Rails application that comprises your entire web site (in other words, the ApplicationRoot is the same as the web server’s DocumentRoot). Perhaps this is all you want. Frequently, however, you will want a little more flexibility; perhaps you want to integrate your Rails application into an existing web site (with the \ApplicationRoot as a sub-directory of the webserver’s \DocumentRoot). Or maybe you want to run multiple independent Rails applications each with it’s own strategically placed \ApplicationRoot, or in sub-domain (virtual server). How to do all of that and more can be found here. |
|
|