Zend Routes

3 views
Skip to first unread message

flickle1

unread,
May 28, 2010, 5:06:58 PM5/28/10
to PHP Hacks
Hi all,

This is a problem i have with zend i am trying to solve

the default setup of the routes is this:

:module/:controller/:action/:params

yet im am trying to add usernames before the module... i know its
possible to add them to params but i prefer them at the start of the
URL like this

:username/:module/:controller/:actions/:params

does anyone know how i can achieve this setup.
I have already ready the manual and do not understand the routes
syntax properly

if somebody can help me out this would be most appreciated.

Thanks
Daniel Lee (London UK)
Reply all
Reply to author
Forward
0 new messages