[Rails] Redirect from site root

Chris Brooks brookscl at gmail.com
Sun Nov 28 05:56:06 GMT 2004


Hi folks,

This is probably a simple FAQ, but I'm trying to figure out the right
way to map the site root (e.g., http://foo.com) to a particular
controller (e.g., http://foo.com/site_pages/).  Is there a standard
way of doing this? I assume it varies depending on Webbrick, Apache,
etc. Thanks for any guidance.

Cheers,

-- 
Chris Brooks
http://www.chrisbrooks.org


More information about the Rails mailing list