Hi all, I want to build a url like this: name.site.com . Can RoR read out the name in the url? If not I supose it's uo to the webserver. Can webrick or Mongrel use this and pass this to RoR. I need the name in the url since it will define what will be shown on the page. Thanks Stijn
on 2007-06-18 12:09
on 2007-06-18 13:37
I dont know exactly how it would be done, but i am sure that it can be done. Take the USERNAME.highrisehq.com thing 37signals got going.
on 2007-06-18 13:44
37signals use this in all their products but i want to know how they do it. Someone has an idea? Thanks, Stijn
on 2007-06-18 14:31
_why's done it again. http://redhanded.hobix.com/bits/dynamicVhostsOneLi...
on 2007-06-18 18:22
Thanks alot! On Jun 18, 2:31 pm, Xin Zheng <rails-mailing-l...@andreas-s.net>
on 2007-06-18 18:35
Xin Zheng wrote: > _why's done it again. > > http://redhanded.hobix.com/bits/dynamicVhostsOneLi... How you integrate it with url_for? So :controller => 'account', :action => 'home_page', :id => user.login goes in, and a virtual host URL comes out? -- Phlip http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!