I'm using laravel for the first time i was used to work with lumen and i always used the .htaccess to redirect the root to the folder '/public' so i can call my routs directly from the root folder. but when i do the same on laravel it doesnt work telling me "Sorry, the page you are looking for could not be found."
Here is the .htaccess i used to add in lumen's root but doesn't work on laravel
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(.*)$ public/$1 [L] </IfModule>
what i'm i doing wrong?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire