On 07.03.2009, at 20:58, Michal Charemza wrote:
Thanks, that worked a treat! On 7 Mar 2009, at 19:50, Veikko Mäkinen wrote:Michal Charemza wrote:<route pattern="^/schedule/" module="Schedule" action="ShowSchedule" name="Schedule"> <route pattern="^editlinks/$" module="Related" action="EditRelated" name="EditRelatedSchedule" /> </route> I've tried various combination of "^" and "$" in the patterns but I've not managed to force paths like: /schedule/gibberish to result in a 404 error. How can I force a 404 error in these sorts of cases?The problem here is the parent route matches /schedule/anything_here AND selects an action. Move the action to a child route and you should be fine. <route pattern="^/schedule" module="Schedule" name="Schedule"> <route pattern="^$" action="ShowSchedule" /> <route pattern="^editlinks/$" ... /> </route> -- Veikko Mäkinen [email protected] 044 5910 413 http://blog.veikko.fi _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
