Saturday, May 27, 2023

How do you use Laravel 10 to redirect all requests to the public/ folder?

 

How do you use Laravel 10 to redirect all requests to the public/ folder?

How do you use Laravel 10 to redirect all requests to the public/ folder?

 Using .htaccess with mod_rewrite


<IfModule mod_rewrite.c>

    RewriteEngine on

    RewriteRule ^(.*)$ public/$1 [L]

</IfModule>

No comments:

Post a Comment

Outlook Email Configuration Service – Get Seamless Email Setup!

  Outlook Email Configuration Service – Get Seamless Email Setup! Setting up business emails (IMAP, POP3, SMTP) Troubleshooting email send...

Clock

a