Permalink
Browse files

Add IIS web.config file

  • Loading branch information...
1 parent d7f4b6f commit 33df476a2d52ab1cf19370a82901bc7fdbd4bb3d @cdujeu cdujeu committed Sep 6, 2016
Showing with 28 additions and 0 deletions.
  1. +28 −0 core/src/web.config
View
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <system.webServer>
+ <rewrite>
+ <rules>
+ <rule name="redirect all requests" stopProcessing="true">
+ <match url="^(.*)$" ignoreCase="false" />
+ <conditions logicalGrouping="MatchAll">
+ <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
+ <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
+ </conditions>
+ <action type="Rewrite" url="index.php" appendQueryString="true" />
+ </rule>
+ </rules>
+ </rewrite>
+ <defaultDocument>
+ <files>
+ <clear />
+ <add value="index.php" />
+ <add value="index.html" />
+ </files>
+ </defaultDocument>
+ <staticContent>
+ <mimeMap fileExtension=".woff" mimeType="application/x-woff" />
+ <mimeMap fileExtension=".json" mimeType="application/json" />
+ </staticContent>
+ </system.webServer>
+</configuration>

0 comments on commit 33df476

Please sign in to comment.