phalcon-devtools icon indicating copy to clipboard operation
phalcon-devtools copied to clipboard

Allow to run skeleton project from subdirectories.

Open ruudboon opened this issue 6 years ago • 2 comments

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 https://github.com/phalcon/cphalcon/issues/14559

ruudboon avatar Dec 18 '19 13:12 ruudboon

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 .

Jeckerson avatar Dec 19 '19 21:12 Jeckerson

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

ruudboon avatar Dec 20 '19 10:12 ruudboon