The basic tutorial says that you need to put .htrouter.php to the root of your project, also giving the posibility of not using .htacces or configure whichever web server you are using. But I've been trying to make it work without .htaccess or configuring apache, and it doesn't. So what is really the functionality of this file?
I leave it at project's root, so if my project is called work, inside this you can see app folder, public folder and .htrouter.php, and I turn on apache, then go to firefox and enter
It will only show the listing of folder and files, unless they have a dot at the beginning of its name. When created with phalcon-devtools, if i remove the .htaccess file, it will not work showing the content of the index.html, that says:
Mod-Rewrite is not enabled Please enable rewrite module on your web server to continue
So, what is this all about? Is the tutorial out of date? Am I missing something here? Somekind of configuration to make the .htrouter.php file work?
Thanks fo help