On Jan 7, 2008 6:09 AM, bob <[EMAIL PROTECTED]> wrote: > > I am trying to develop a site with user membership. In cakePHP 1.2, is > it possible to set up the URL so that it is in the following format: > > http://localhost/<username> or /app/<username> > > For example, i could have http://localhost/user1 > > Or does it have to be strictly in this format: /app/controller/action/ > <username>? > > Thanks in advance
You can use custom routes to do this. Check out the section on 'routes' at http://tempdocs.cakephp.org -- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
