Routing: or

hi list,

is it possible in routes.rb or in other file controlled by my app to
a subdomain to a controller or a model

like for example i have a places controller, and an object named
is there a way to have resolve to controller: places, action: show, :name
york ?

thank you

Heri R.

I may be wrong, but I believe you need to do that sort of mapping in
your httpd configuration.
I’m fairly new at Rails, and I’ve only set up lighttpd once, but I
believe what you need to use is mod_rewrite after defining your fastcgi