Created
December 31, 2014 19:49
-
-
Save waskito/76eb1de22058a133ee4f to your computer and use it in GitHub Desktop.
.htaccess for angular html5mode
This file contains 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} !-f [OR] | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^ - [L] | |
RewriteRule ^index.html [L] | |
ErrorDocument 404 /index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment