Created
October 31, 2016 16:36
-
-
Save micc83/97f28ec3b4cf489700f65d0b35b67417 to your computer and use it in GitHub Desktop.
.htaccess for javascript app routing
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 ^(.*) /conf/index.html [NC,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment