Skip to content

Instantly share code, notes, and snippets.

View rajguru827's full-sized avatar
🎯
Focusing

Gururaj Upparagummala rajguru827

🎯
Focusing
  • Backbase
  • Remote
  • 05:46 (UTC +05:30)
View GitHub Profile
@rajguru827
rajguru827 / .htaccess
Created November 22, 2018 06:08
Apache Config for Angular
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
@rajguru827
rajguru827 / Web.Config
Created November 22, 2018 06:05
IIS Config for Angular
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Angular Routes" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />