New page not accepting url paramenter

Hi,

I have create new page.

$app->get(’/[{name}]’, function ($request, $response, $args) {
// Sample log message
$this->logger->info(“Users ‘/’ route”);
// Render index view
return $this->renderer->render($response, ‘users.php’, $args);
});

when I give http://example.com/public/users.php/ it working fine,

but when I give http://example.com/public/users.php/page/ it says page not found at live server, my live server is ngix.

on the other hand on my local server same thing works perfectly fine and it is linux base.

any idea what is the missing thing for the nigx?

Kind Regards,
Kamran

Hi,

Learn about URL Rewrite in http://docs.slimframework.com/routing/rewrite/#nginx