Created
April 30, 2018 13:37
-
-
Save bcamargogui/ea8ff4367004e561d36a211fd92b69c5 to your computer and use it in GitHub Desktop.
Catch all requests and redirect to React main file - HTACCESS
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 | |
RewriteBase / | |
RewriteRule ^index\.html$ - [L] | |
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