How to avoid index.php in Zend Framework?

Posted by henriquev on Stack Overflow See other posts from Stack Overflow or by henriquev
Published on 2010-05-07T13:20:54Z Indexed on 2010/05/09 17:08 UTC
Read the original article Hit count: 240

I'm using the Zend Router and so things like (/ and /index.php) or (/about and /index.php/about) ends up as the same here.

However, /index.php/whatever should not exist as it is the exactly same resource as /whatever so it doesn't make a sense the duplication.

How do I avoid this?

Even http://zendframework.com/manual/en/zend.controller.router.html and http://zendframework.com/index.php/manual/en/zend.controller.router.html both exists. It doesn't make any sense at all...

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about zend-route