I set up a Zend Framework application using Zend_Tool, but I wanted multiple modules (admin and default). I moved the controllers, models and views for default into modules/default, then created an admin module and some controllers. I then added this line to my config file to specify the modules directory:
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
Since doing this, I can't get my app to work properly. If I go to http://localhost/zfproject, it works (I get the index controller/action). If I go to http://localhost/zfproject/index/, I get 'Invalid controller specified (zfproject)'.
The same message appears when going to http://localhost/zfproject/admin. It seems to think 'zfproject' is the controller I'm specifying, despite that just being the folder the project is contained in.
Thanks, Richard