Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #apache #public #folder
ADD COMMENT
Topic
Name
9+2 =