I’ve tried to run ZF Quickstart app not from the root folder, but from webserver subfolder, like a usual php app, e.g. localhost/quickstart. When localhost/quickstart/guestbook gives page not found error:
> Page not found > > array(3) { ['controller']=> > string(10) 'quickstart' ['action']=> > string(9) 'guestbook' ['module']=> > string(7) 'default' }
It treats parent folder name as controller name. I’ve narrowed down my problem to this line:
Zend_Controller_Front::getInstance()->dispatch();
SHould I somehow condigure the router object to avoind parent folder confusion? What code should I use?
My meta-purpose is to run a few zend apps on the same webserver.
You probably need to set the base url.
For example: