Created
November 22, 2018 06:08
-
-
Save rajguru827/f1a6924acb53adf17b4732c8c690c456 to your computer and use it in GitHub Desktop.
Apache Config for Angular
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