Here's the solution for anyone who stumples upon this and has the same question:
Router::connect('/(?i:about)', array('controller' => 'pages', 'action' =>'display', 'about')); -Matt www.pseudocoder.com On Sep 5, 10:00 am, MattC <[EMAIL PROTECTED]> wrote: > Hey all, > I'm tryting to set a couple routes to static pages such as /about. So > far I have: > Router::connect('/about', array('controller' => 'pages', 'action' => > 'display', 'about')); > > This works fine for /about, but I would also like to map /About. Is > there a way I can make the routecaseinsensitve, rather than having > to define a new one? I know you can do regular expressions, but I > don't think the /i syntax works in this scenerio. I'm using cake 1.2 > if it makes a difference. > > Thanks, > Mattwww.pseudocoder.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---