I am new to laravel, and im trying to get redirect all incoming requests from /example
to exampleController@index
I am using this route
Route::match(['get', 'post'], '/example/{any}', ['uses' =>'exampleController@index'])->where('any', '.*');
Everything works fine with /example/any/any/any
, but I am getting No input file specified.
error when i try /example/any/any/any.php
Please help me to solve this problem. Thanks.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2aJ8URh
via IFTTT
Aucun commentaire:
Enregistrer un commentaire