New to Ruby on Rails? Spread the Word!: DIGG This | Add to del.icio.us
Rails411 is your one stop Ruby on Rails resource directory. Here you will find Ruby on Rails tutorials, Conference & Workshop Listings, Forums, and Hosting. We are the definitive guide for Ruby on Rails web applications, components, gems, scripts, and other related resources for Ruby on Rails. Accomplishing more with your Ruby on Rails website is easy with the help of these tested, pre-packaged, and ready-to-run resources.

Click any category to add your site for free.

Thursday, August 28 2008

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.

Write Review
Your Name:
Review Title:
Review: