Zend Framework could not recognize index.php

December 22, 2006 on 9:40 am | In Zend Framework |

In RewriteRouter.php, after line 136 add

/** Added by Jason Qi Nov 28, 2006 */
        $tpath = $path;
        $tpath = strtolower($tpath);
        if (strstr($tpath, ‘.php’)) {
            $path = substr($path, 0, strpos($path, ‘.’));
        }

to eliminate .php from index.php

2 Comments »

RSS feed for comments on this post. TrackBack URI

  1. I am using zf 0.7.0 at windows system, I got the same error too, but it seems your patch is not for zf 0.7.0? any updates for 0.7.0?

    Comment by tony — January 31, 2007 #

  2. Thanks Tony,

    You right, my patch was written for zf version 0.6.0.I will look into the version 0.7.0 to see if any change on that. Otherwise I will report a issue to zf project and write a right patch for version 0.7.0.

    Comment by admin — January 31, 2007 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Since May 6,2007 We have Visitors
dog ramps

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^