Hi there,
I'm working on the INVO tutorial to learn a bit more abpout phalcon. Working well so far, but I have an issue with the security/products page: the tutorial explains that trying to access the protected page (https://mydomain.dev/products/ ) it should display the home page with a warning.
When trying on my dev version, I end up with a blank page. I've added a trace (dump $_SERVER) in the index.php file to see what's happening and where I ended up:
$_SERVER = array ( 'FCGI_ROLE' => 'RESPONDER', 'QUERY_STRING' => '_url=/products/index', 'REQUEST_METHOD' => 'GET', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/products/index', 'DOCUMENT_URI' => '/index.php', 'DOCUMENT_ROOT' => '/data/www/invo/public', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_SOFTWARE' => 'nginx/1.6.2', 'REMOTE_PORT' => '52551', 'SERVER_PORT' => '80', 'SERVER_NAME' => 'phalcon.nis.dev', 'REDIRECT_STATUS' => '200', 'SCRIPT_FILENAME' => '/data/www/invo/public/index.php', 'HTTP_HOST' => 'phalcon.nis.dev', 'HTTP_COOKIE' => 'PHPSESSID=nojsgpfu2ooi49b8nljrfkbmd7', 'PHP_SELF' => '/index.php', ... )
Checked the dispatcher and SecurtyPlugins are called, but nothing significant there.
Plus even though the page displays the trace, the HTTP hreader show the status 404... o_O
I'm a bit lost there.
Is that a bug in the INVO tuto or something wrong with my setting ? Best.