Answers for "laravel should i move public folder file in to root"

PHP
0

laravel apache public folder

//Laravel -> Jump to /public by default
//On the root file create an htaccess file with this data:
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ /public/$1 [L,QSA]
Posted by: Guest on April-17-2021
0

laravel deploy without moving public directory

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(.*)$ public/ [L]
</IfModule>
Posted by: Guest on April-09-2021

Code answers related to "laravel should i move public folder file in to root"

Browse Popular Code Answers by Language