Hello,

In my ZF project, I use some alternate routes. This works fine, however the
default route for this is still active. For example, mysite.com/dj_tiesto is
exactly the same as mysite.com/artists/details/id/10 and
mysite.com/artists/details?id=10.

This means there are different links pointing to one location. As I don't
want to do this, I thought removeDefaultRoutes() would do the trick. Indeed
only mysite.com/dj_tiesto is the only route pointing to the right location,
but the other links (which should be non-existing routes by now since the
default routes are gone) point to my index page??

I want to return a 404 on these links instead of returning the index. Is
this a bug, or does anyone have another idea about how to solve this
problem?

Thanks in advance!
-- 
View this message in context: 
http://www.nabble.com/removeDefaultRoutes%28%29-points-non-existing-routes-to-index--tp16446805p16446805.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to