Hi.

It wont be a pure Zend Framewerok issue.
I have problem with apache's 500 Internal Error on several production
servers.

For example.
This code works on my localhost machine but on production server it rises
500 Internal Error:

// SomeController.php
function doSomethingAction() {
  $this->_redirector->gotoRouteAndExit(array('id' => $quiz_id),
'quiz_info');
}

// SomeRouters.php
$route = new Zend_Controller_Router_Route(
    'quiz/info/:id',
    array(
        'module'        => 'index',
        'controller'    => 'quiz',
        'action'        => 'show'
    )
);
$router->addRoute('quiz_info', $route);

During several experiments I've figured out that it produces some infinite
loop (something like redirections chain).

On both machines I have standard .htaccess file:

RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|swf|css|html)$ index.php

Where is the bug?

Thanks for help,
Łukasz

Reply via email to