Yeah, you can capture the subdomain, someone else asked the same question recently here: http://groups.google.com/group/cake-php/browse_thread/thread/aa65e794df4e064a?hl=en
Search the group before asking questions! On Mar 11, 12:52 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Applications like Basecamp and Backpack use the account name in the > url - specifically a subdomain like account.backpackit.com or > account.projectpath.com. Does Cake let you capture this subdomain in > your app? I'm sure it involves some httpd.conf settings, but is it > ultimately available in Cake to use? > > Another option would be to use it before the controller name, like how > plugins or admin routes work, > likewww.whatever.com/account/controller/action/params. > Is there any way to have a parameter before the controller name? > Maybe using the new routing capabiliites in 1.2 as described > inhttp://cake.insertdesignhere.com/posts/view/10? > > I know it could just be used as a normal parameter after controller/ > action, but for the app I'm looking at that parameter is needed in > every url and looks nicer before the controller. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
