I''m using the simple account_location plugin to have virtual subdomains on my app (account.myapp.com - see Basecamp, Blinksale, etc.) How do you go about setting up your OS X system to play nice? I''d like to use Apache & Mongrel. Notes: The only thing I''ve able to accomplish is hardcoding the subdomains directly in my hosts file. I can get "test.localhost.com" to work fine, that''s not really a wildcard subdomain. I wouldn''t be able to test the app''s ability to create and recognize subdomains I''d gotten the tip to setup a local DNS server, but I couldn''t get anything installed right. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 08 Feb 2008, at 22:57, NewMonarch wrote:> I''m using the simple account_location plugin to have virtual > subdomains on my app (account.myapp.com - see Basecamp, Blinksale, > etc.) > > How do you go about setting up your OS X system to play nice? I''d like > to use Apache & Mongrel. > > Notes: The only thing I''ve able to accomplish is hardcoding the > subdomains directly in my hosts file. I can get "test.localhost.com" > to work fine, that''s not really a wildcard subdomain. I wouldn''t be > able to test the app''s ability to create and recognize subdomains > > I''d gotten the tip to setup a local DNS server, but I couldn''t get > anything installed right.http://woss.name/2006/11/13/setting-up-local-name-server-on-mac-os-x/ Used it on all my computers already and works perfectly. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Possibly Parallel Threads
- Mocking/Stubbing help with subdomain as account key
- how does base camp manage there accounts
- Seeking Advice on Pattern for Multi-Organization Application
- Differentiating between normal site content and accounts with subdomains
- Displaying based on hostname/subdomain