On 12 Feb 2009, at 04:43, Sniper Abandon wrote:

>
> Frederick Cheung wrote:
>> On 11 Feb 2009, at 10:37, Sniper Abandon wrote:
>> apache, nginx etc... can certainly forward the request to different
>> places based on the url (and other things). Where things might get
>> complicated is to what extent your php bits and your rails bits will
>> need to share information
>>
>> Fred
>
> thx Fred
>
> i have one more problem
> i want to create subdomain for their profile url accordingly to
> user_name
>
> for example i have url (http://localhost:3000/)
>
> if any person login as "user_name" then his profile page url should be
> http://user_name.localhost:3000/

Well I'm not sure how you'd do it in development, but in the real  
world you can setup a wildcard dns entry. There's a railscast on  
handling subdomains if my memory is correct.

Fred
>
>
> any idea ?
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to