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.

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 (http://docs.phalconphp.com/en/latest/reference/tutorial.html).

when i write localhost/tutorial/public it work fine, but when i click any link (ex. http://localhost/tutorial/signup or http://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



1.5k
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

http://docs.phalconphp.com/en/latest/reference/tools.html



2.9k
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



431

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