You can use subdomains for various purposes. One is to host different
servers (eg mail.example.com and www.example.com), or to host
different applications (eg [EMAIL PROTECTED] and [EMAIL PROTECTED]).

I believe Basecamp use it to have nicer URLs. The standard way would
be:
//www.example.com/~rockroll/..., or
//www.example.com/...?user_id=123456

//rockroll.example.com/... looks nicer.

A few links:
http://wiki.rubyonrails.org/rails/pages/HowToUseSubdomainsAsAccountKeys
http://www.jonathansng.com/ruby-on-rails/find-your-rails-subdomains/http://www.railsonwave.com/railsonwave/2007/7/10/howto-put-a-controller-under-a-ssl-subdomain

Christian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to