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

In v4 when register a route you must define all path #2786

Closed
RicardoBer opened this issue Aug 8, 2019 · 1 comment
Closed

In v4 when register a route you must define all path #2786

RicardoBer opened this issue Aug 8, 2019 · 1 comment
Labels

Comments

@RicardoBer
Copy link

RicardoBer commented Aug 8, 2019

I tried with apache server, without .htaccess.

I have this path for php script

d:\inetpub\wwwroot\prueba\rest\data.php

I copied "Hello World" example from slim v4 install page.

I install v4 with your composer install instructions.

I must put:
$app->get('/prueba/data.php/', function (Request $request, Response $response, $args) {

I must put full path to work, if I install v3 (with composer) or v2 (clone) it works with only '/' root path, as spected.

I call this url: http://localhost/prueba/data.php/

@l0gicgate
Copy link
Member

Duplicate of #2784

@l0gicgate l0gicgate marked this as a duplicate of #2784 Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants