Guest User

Untitled

a guest
Apr 8th, 2019
48
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3.  
  4. <system.webServer>
  5.   <rewrite>
  6.     <rules>
  7.       <rule name="Angular Routes" stopProcessing="true">
  8.         <match url=".*" />
  9.         <conditions logicalGrouping="MatchAll">
  10.           <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  11.           <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
  12.         </conditions>
  13.         <action type="Rewrite" url="./index.html" />
  14.       </rule>
  15.     </rules>
  16.   </rewrite>
  17. </system.webServer>
  18.  
  19. </configuration>
RAW Paste Data