dimanche 2 septembre 2018

Laravel page not found after creating .htaccess

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?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Nb5TLp
via IFTTT

Aucun commentaire:

Enregistrer un commentaire