We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

only homepage is displayed, other pages 404

Hi. i've just stared journal with phalconphp.

I intall all nessesary packages and i downlad tutorial exmaple (https://docs.phalcon.io/en/latest/reference/tutorial.html).

when i write localhost/tutorial/public it work fine, but when i click any link (ex. https://localhost/tutorial/signup or https://localhost/tutorial/public/signup) i've got 404 error....

i tryed write this by myself, and i download invo tutorial and i've got this same problem...

ofcourse mod_revrite is enable and .htaccess files are created



2.1k
Accepted
answer

There could be many possibilities. 1: You do not have signup controller? 2: Your htaccess is not point to the bootstrap, index.php

The fastest way to set up a project is using phalcon developer tools

https://docs.phalcon.io/en/latest/reference/tools.html



7.6k
edited Jan '15

Thanks a lot for replay.

Yes, i've controler and action inside.... as you say i install devtools and it tell me that i have disabled mod_rewrite (even phpini say mi that plugin is enabled).

so i enable and.... i run aplication and its 403 error... when i remove .htaccess i see homepage agin but i stel cannot go to any link.

Now i look for some solv of this problem, but if You have some idea please share :)

Best regards

PS. i had change chmod i chown to 777 and apache user and still 403....

PS2. solving problem is adding to .htaccess (in main folder, non public) one line:

Options +FollowSymLinks



959

I use nginx, same issue occured on invo and vokuro projects, always only show homepage no matter which page you open