Custom routing of URL's
I'm fairly new to using the Zend Framework and got a problem which i could not solve myself yet. I want my router to work as follows, I don't know where to start though:
example.com/first/second/controller/action
-> localpath/controllers/first/second/CONTROLLER.php should be loaded
So my router must check if de first few parameters after the base url are actual (sub)directories inside my main controller directory. If they are, the controller inside this 'subpath' should be called.
Hope someone can get me back on track.
|