Using the latest zend framework minimal installation version 1.9
I create a fresh zend framework project using Zend_Tool:
cd /var/www
zf create project ZendDemo
and then use Zend_Tool to create a new controller named 'foo'
cd ZendDemo
zf create controller Foo
and then in apache2 set my doc-root to the public folder of the new project
in the httpd.conf:
DocumentRoot /var/www/ZendDemo/public
how do I make the following URL get routed to the index action of FooController ?
http://localhost/foofrom what I read... assuming Zend_Tool does its magic and throw no errors... the front controller should already be routing me there, but it's not. I keep getting 404 errors.
I have even tried adding a directory and index.php file to show "phpinfo()" like such:
/var/www/ZendDemo/public/foo/index.php
alas! 404 error.
I want Zend to do the routing. which it clearly takes control of, but why is it not routing it to the index action of the foo controller?
please help. I am at the end of my rope with this thing.