Here is my custom routes.php:
<?php $router = new \Phalcon\Mvc\Router(false); $router->add("/", array( 'controller' => 'session', 'action' => 'index' )); $router->add("/session/start", array( 'controller' => 'session', 'action' => 'start' )); return $router; ?>
Redirecting to Session/Index works perfectly under Windows, but it started to re-direct to session/start for unknown reason when i go to root and view my site under Unix.
Can' understand why dispatcher started to re-direct the page to incorrect action under Unix. Please advise!