Answers for ".htaccess file for public folder in laravel"

PHP
0

laravel project htaccess redirect to public path

//In your Root directory create a file .htaccess and write it

RewriteEngine on
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
Posted by: Guest on May-08-2021
-1

public laravel htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
Posted by: Guest on September-16-2020

Code answers related to ".htaccess file for public folder in laravel"

Browse Popular Code Answers by Language