Solved

Zend Framework first try: indexController / default?

Posted on 2009-04-06
3
367 Views
Last Modified: 2013-12-13
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
Comment
Question by:R7AF
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
Yumitsu earned 500 total points
ID: 24079562
Make sure that index.php catches page requests.

If not, it's a problem with .htaccess.
0
 
LVL 13

Author Comment

by:R7AF
ID: 24079646
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
 
LVL 2

Expert Comment

by:Yumitsu
ID: 24083544
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now