Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-21-2008, 09:42 AM
Junior Member
 
Join Date: Mar 2008
Posts: 1
Default removeDefaultRoutes() points non-existing routes to index?

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-26-2008, 07:26 AM
Junior Member
 
Join Date: Mar 2008
Posts: 2
Default

I'm having the same issue, anybody?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:25 PM.