Created
July 14, 2019 02:14
-
-
Save lamngockhuong/2c31ed69a0256fe6451ec08ead05f05a to your computer and use it in GitHub Desktop.
Redirect all path to index.html root file - ReactJS on hosting
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
RewriteBase / | |
RewriteCond %{REQUEST_URI} !^/(static/?|$) | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.html [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment