rails public root

hi,

i'm planning to deploy with a cluster of mongrels behind apache and i
have everything working ok but i'm wondering how to redirect users
from the root path (i.e. mydomain.com/ ) to what i want to be my
default controller/action?

should i have a routes.rb entry that handles this or should apache
rewrite the url?

thanks,
mike

Hey Mike -

hi,

i'm planning to deploy with a cluster of mongrels behind apache and i
have everything working ok but i'm wondering how to redirect users
from the root path (i.e. mydomain.com/ ) to what i want to be my
default controller/action?

should i have a routes.rb entry that handles this or should apache
rewrite the url?

thanks,
mike

Myself, I'd prefer to have this controlled by rails as I like to have as much app logic residing there.

to use rails you'd add a route such as,

map.connect '', :controller => "some_controller", :action => "some_action"

There's a commented out route like that in your default routes config.

Jodi