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

index of tutorial : app or public

Hi , every body I am new with phalcon I have a problem starting the example project here: https://docs.phalcon.io/en/3.3/tutorial-base

when I type in browser : https://localhost/tutorial/ instead of seeing a "Hello world" page, I get a page being asked :index of /tutorial
app or public then when I click on public , i can see the hello world But,I dont want to be asked to choose public folder thanks

You need to have proper nginx/apache config to rewrite urls.



1.4k

You need to have proper nginx/apache config to rewrite urls. thanks for your help,but would you please explain a little bit more?

https://docs.phalcon.io/en/3.3/webserver-setup

You need to have proper nginx/apache config to rewrite urls. thanks for your help,but would you please explain a little bit more?