I’m new to zend, so I’m working through this tutorial here. If you skip to about 1:10, he creates a new contoller, and then types the name of it in the url.
This brings up the appropriate view. All good. However, when I do it I get a big NOT FOUND and this ‘The requested URL /cube was not found on this server‘.
Any ideas on what I’m doing wrong.
Sorry if this is a little vague, if you need more details, let me know.
Here’s a few you may need:
Server: Xampp
OS: Windows Vista 32bit
Zend version: 1.11.6
Do you have correctly configured
.htaccessfile in the project’s root directory? Take a look at this. You have to have mod_rewrite enabled in Apache. This can be done by editing thehttpd.conffile, which should be in the Apache installation folder. Then you should add a.htaccessfile into the root folder of you project with the following content:Or alternatively one can use ZF without mod_rewrite. To do so, configure front controller this way: