Created
April 10, 2015 10:59
-
-
Save jeremypage/6a2dec1f6c87f9843900 to your computer and use it in GitHub Desktop.
IIS: Enable json/geojson MIME types
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<staticContent> | |
<mimeMap fileExtension=".json" mimeType="application/json" /> | |
<mimeMap fileExtension=".geojson" mimeType="application/json" /> | |
</staticContent> | |
<handlers> | |
<add name="geoJSON" path=".geojson" verb="*" modules="IsapiModule" scriptProcessor="C:\WINDOWS\system32\inetsrv\asp.dll" resourceType="Unspecified" /> | |
<add name="JSON" path=".json" verb="*" modules="IsapiModule" scriptProcessor="C:\WINDOWS\system32\inetsrv\asp.dll" resourceType="Unspecified" /> | |
</handlers> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment