Hypothetically, I believe you could configure a local DNS server to redirect *.localhost to your ruby server. I'm not positive though.
On Thu, Aug 13, 2009 at 9:11 AM, prabesh shrestha <[email protected]>wrote: > > Hi all, > I am using subdomainfu plugin for subdomain in my project.I can get > the subdomain in the url with 'current_subdomain'. > But for subdomain to be accepted by my browser I need to change the / > etc/hosts : > 127.0.0.1 localhost > 127.0.0.1 subdomain1.localhost > 127.0.0.1 subdomain2.localhost > > This way I will need to enter subdomain3,subdomain4..... which I can't > do for every user that creates account in my project.I found that I > can't use 127.0.0.1 *.localhost. > > Maybe I am missing something here.Can you suggest me the solution.I am > using webrick server to host my project. > > Thanks , > Prabesh Shrestha > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

