Created
June 23, 2020 07:54
-
-
Save Dron84/ee03434ef17872f55da69a57fa67384e to your computer and use it in GitHub Desktop.
htaccess for vue
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 | |
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
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