Link to home
Start Free TrialLog in
Avatar of R7AF
R7AFFlag for Netherlands

asked on

Zend Framework first try: indexController / default?

I'm trying to get the first pages working in Zend Framework. The framework does work, I have the helloworld page working. I'm using Zend Framework for Eclipse, and XAMPP on a Windows Vista machine. Now I've tried to create new pages using an online tutorial.

http://akrabat.com/zend-framework-tutorial/

I've created the pages as the manual says. The only difference I see is the "default" application. I don't know if I should use that or not. I have used it, but couldn't get the pages working. I have edited the .htaccess file, and renamed it to _htaccess, and added "AccessFileName _htaccess" to httpd.conf to be sure. Maybe the url-rewriting is the problem, I don't know.

I constantly get 404 errors when accessing pages like localhost/index/edit (as the tutorial says should be possible).
ASKER CERTIFIED SOLUTION
Avatar of Yumitsu
Yumitsu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of R7AF

ASKER

I got it working. It turned out to be the httpd.conf, where the mod_rewrite wasn't enabled (although I thought I had done that), as well as the .htaccess allow rule.
Avatar of Yumitsu
Yumitsu

I thought it was a problem with mod_rewrite since apache doesn't throw 500 error when module not loaded but developer tries to use it.