Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 396
  • Last Modified:

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).
0
R7AF
Asked:
R7AF
  • 2
1 Solution
 
YumitsuCommented:
Make sure that index.php catches page requests.

If not, it's a problem with .htaccess.
0
 
R7AFAuthor Commented:
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.
0
 
YumitsuCommented:
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.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now