I just posted a question like this and got some info: http://groups.google.com/group/cake-php/browse_frm/thread/aa65e794df4e064a/8d9e875d51f97d2e?lnk=st&q=&rnum=6#8d9e875d51f97d2e
On Mar 11, 1: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 -~----------~----~----~----~------~----~------~--~---
