Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Routing problem, indexAction runs everytime even in invalid routes

Hello, I'm new to phalconphp and I'm having problems with setting up new pages. I created modules project using the devtools, added helloAction to the IndexController in frontend module but when I go to /frontend/index/hello it shows me the indexAction. I've tried creating static routes without any dynamic params but that didn't work too.


Well, I was trying to run server via php -S public/index.php command but found out that way mod_rewrite will not work. Then I found out that skeleton project already has a script to run server .htrouter.php. It works now.

edited Apr '17

Phalcon does have logic to make a command line application by the way -