I have a problem with Laravel 5.1 routing, If I try to make a route with the same name that a folder in the /public folder apache shows me the index of the folder (I have forbidden indexes so it shows a Forbidden message) I don't know if it's impossible to make it work, I have obviously changed the name of the assets folder with the conflictive name in public directory, but it would be awesome if I could name it as I want.
If I wans unclear (because my bad english) the short explanation is the following: I have a "game" folder in the /public folder of Laravel 5.1 I want to have a route named /game (example.com/game) When I acces to /game apache shows me the index of the folder, instead of redirect me to index.php as rewrite rules do.
Thanks in advice
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire