Default route is matched instead specific route

Posted by Supertino7 on Stack Overflow See other posts from Stack Overflow or by Supertino7
Published on 2010-05-31T13:08:34Z Indexed on 2010/05/31 13:13 UTC
Read the original article Hit count: 458

www.domain.com community :action/* member/profile-(\d+)-(.+) member/profile-%d-%s 1 2

As you can see, I use a route with :action/* in to cover the homepages and the basics actions on index controller.

domain.com/community/random_action => works good.

domain.com/community/ doesn't work. The whole homepage is displayed. I checked, and the default route is matched.

I tried assemble() on route "www-community-index" and it gives well www.domain.com/community

I don't see from where comes the problem :(

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about url-rewriting