new Zend controllers help?

2 messages Options
Embed this post
Permalink
Robert Vanderley () new Zend controllers help?
Reply Threaded More More options
Print post
Permalink
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/foo

from 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.
Christoph Dorn () Re: new Zend controllers help?
Reply Threaded More More options
Print post
Permalink
Is the .htaccess file being called by apache?