On Sun, Oct 12, 2008 at 8:48 AM, gamehack <[EMAIL PROTECTED]> wrote:
> I've got a licensing app that is distributed across several domains, > as in: > admin.example.com > licenses.example.com > secure.example.com > paypal.example.com > Ideally, I would like to be able to setup routing on a subdomain basis ... > thinking about was using the same model objects in different apps for > each subdomain It's not clear to me what you're trying to achieve -- how would the response to a request for `secure.example.com/foo` differ from the request for `paypal.example.com/foo`, for instance? Or to put it another way, *can* these subdomains operate logically as uncoupled applications, or are they more `example.com/paypal/` and `example.com/secure/`? If you do need them all serviced by one app, fronting it with Apache httpd with mod_rewrite would probably take care of it. HTH, -- Hassan Schroeder ------------------------ [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

