Created
June 19, 2014 14:24
-
-
Save LiamChapman/005b3d3050c1f7344579 to your computer and use it in GitHub Desktop.
Laravel's .htaccess to remove "public" from URL - put in the root. Good for when on something like heroku
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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteRule ^(.*)$ public/$1 [L] | |
| </IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment