Hi,

I am trying to make sure I get 404 error for all paths that shouldn't  
correspond to any content. I have two paths, corresponding to two  
nested routes:

/schedule/
/schedule/editlinks/

At the moment the routes are:

<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?

Michal.


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to