Created
December 21, 2018 11:55
-
-
Save prashantidealittechno/514ba754ff3883c7dd2edc828d48ad03 to your computer and use it in GitHub Desktop.
htaccess file for angular 6
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 | |
# Don't rewrite files or directories | |
RewriteCond %{REQUEST_FILENAME} -f [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^ - [L] | |
# Rewrite everything else to index.html to allow html5 state links | |
RewriteRule ^ index.html [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment