guelmismr Posted July 3, 2009 Share Posted July 3, 2009 HI: I've been reading the Zend's quickstart an I also downloaded many examples of how to work with Zend framework 1.8 and tried to add new controllers, but I don't know how to make them work, who is the front controller? How can I access from the navigator, is it through http://localhost/Zend_example_project/public/index/newcontroller/newaction or http://localhost/Zend_example_project/public/newcontroller/newaction, please send me an example that works or a guide. Thanks in advance. guelmismr Quote Link to comment https://forums.phpfreaks.com/topic/164676-how-can-i-add-a-new-controller-in-zend-framework-18-and-make-it-work/ Share on other sites More sharing options...
trq Posted July 4, 2009 Share Posted July 4, 2009 The public directory your trying to refer to in your url is actually meant to be your web servers document root. The rest of your application is placed outside the document root. Once you have your application in the correct place, you simply refer to new controller by.... http://localhost/controllername/actionname. Quote Link to comment https://forums.phpfreaks.com/topic/164676-how-can-i-add-a-new-controller-in-zend-framework-18-and-make-it-work/#findComment-868616 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.