url not found in zend framework though working for index page

Posted by Rohan Thakare on Stack Overflow See other posts from Stack Overflow or by Rohan Thakare
Published on 2012-01-12T16:22:46Z Indexed on 2012/10/24 5:04 UTC
Read the original article Hit count: 207

Filed under:

i am trying to develop website using zend framework so i had created one index.php file where all my requests goes and c.reated two controller one is IndexController and other is TestController

Class IndexController extends Zend_Controller_Action{
    public function indexAction(){
        echo "Index Index Jamla";
    }
    public function displayAction(){
        echo "Index Display Jamla";
    }
}

now when i access the url http://test/ it correctly calls IndexController and its IndexAction function but when i access the url http://test/index/index it displays the message url /index/index was not found on this server same it does when i access http://test/test/index

though http://test/ is equivalent to http://test/index/index

© Stack Overflow or respective owner

Related posts about zend-framework