Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to run skeleton project from subdirectories. #1403

Open
ruudboon opened this issue Dec 18, 2019 · 2 comments
Open

Allow to run skeleton project from subdirectories. #1403

ruudboon opened this issue Dec 18, 2019 · 2 comments
Assignees
Milestone

Comments

@ruudboon
Copy link
Member

Some users are running Phalcon from a subdirectory.
For example '/store/' will show the index.
Can yo add some tests and make sure this is possible?
These test should give a clear view if changes are required from the Phalcon handle() see phalcon/cphalcon#14559

@ruudboon ruudboon added this to the 4.0.0 milestone Dec 18, 2019
@Jeckerson Jeckerson self-assigned this Dec 19, 2019
@Jeckerson
Copy link
Member

After some tries, I ended to fail because of PHP built-in web-server that we are using for serving WebTools...

We need to add Apache/Nginx configs or try to rewrite .htrouter.php. But main approach of serving devtools for local development is to serve single app. This also was discussed little bit with @sergeyklay .

@ruudboon
Copy link
Member Author

ruudboon commented Dec 20, 2019

I agree on the dev tools / WebTools part. Running it on the built-in webserver is fine.

From my point of few Skeletons can be used to start a new project that you would like to run on a production server. So for the generated skeletons users should be ready for nginx/apache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants