Created
January 13, 2016 10:24
-
-
Save arth2o/05b087ab5f6f509459a9 to your computer and use it in GitHub Desktop.
htaccess apache redirect public per index.php
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_FILENAME} -s [OR] | |
RewriteCond %{REQUEST_FILENAME} -l [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^.*$ - [NC,L] | |
RewriteRule ^.*$ /public/index.php [NC,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment