That action causes a crash at the 71th line of library\zend\controllers\route.php, where strlen($controller) now will not return 0 but 9 (if index is your default page) and 'index.php' isn't a controller, then noRouteAction will be selected, returning to index.php, this error will be again and will return to index again.... and thus successively.

sorry by disturb, and congratulations for the good job,

Bruno Eduardo de resende Oliveira

Comments

I'm running ZF on IIS. It functions great with a small workaround. You have to install Isapi_Rewrite (http://www.isapirewrite.com/) to get mod_rewrite-like functionality in IIS. Then in Zend_Controller_Router you only need to change line 52 in Zend/Controller/Router.php from

$path = $_SERVER['REQUEST_URI'];

to

$path = strtolower($_SERVER['HTTP_X_REWRITE_URL']);

Isapi_Rewrite sets the HTTP_X_REWRITE_URL $_SERVER variable to be what REQUEST_URI would be if you were running on Apache and using mod_rewrite.

I hope that helps.
06/12/06 06:22:42: Modified by Link

Posted by Michal Minicki (martel) on 2006-06-23T10:30:59.000+0000

Could you provide working isapi rewrite rules? I'm trying those and they don't seem to work on my setup: