I have installed the request routing plugin (http://wiki.rubyonrails.org/rails/pages/Request+Routing)
and this is what i have in routes.rb: map.connect '', :controller => 'site', :requirements => { :subdomain => 'www'}
It is right, only :requirements should be :conditions.
Also, how is it possible to route the following url to an account controller: www.localhost.com/account/logout? there is no id in this url - will the following route work: map.connect ':controller/:action/'? How can I only route it if the controller is 'account'?
It just works with default routes, note that you don't need it in the canonical CRUD's index/list actions.
-- fxn