Last active
April 10, 2019 12:00
-
-
Save umanshield/ef45a9518abf576622bbd1bff136f156 to your computer and use it in GitHub Desktop.
angular apache serve source :https://github.com/angular/angular-cli/issues/5113
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 | |
# If an existing asset or directory is requested go to it as it is | |
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] | |
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d | |
RewriteRule ^ - [L] | |
# If the requested resource doesn't exist, use index.html | |
RewriteRule ^ /index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment