Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Zend Framework first try: indexController / default?

Posted on 2009-04-06
3
Medium Priority
?
388 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
Yumitsu earned 2000 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
This article discusses how to create an extensible mechanism for linked drop downs.
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.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

661 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