Created
November 7, 2017 00:33
-
-
Save RhythmShahriar/188d63bc4c34afe5830fc876b5a4663c to your computer and use it in GitHub Desktop.
Permanently redirect all request from root to /public folder (Laravel)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine on | |
RewriteCond %{REQUEST_URI} !^public | |
RewriteRule ^(.*)$ public/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment