mardi 20 novembre 2018

Laravel: How to allow routes with php extensions?

In my laravel application I wants to allow routes with .php extensions like:

xyz.com/some/random/url.php

If I just add it as a normal route then I get error No input file specified.

It works fine with php artisan serve but not with production nginx server. I think I've to change something at nginx config or .htaccess file but not sure.

Does anyone has any idea or hint how I can do this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire