September 2018
Beginner to intermediate
312 pages
7h 22m
English
Adding the correct media type in IIS can happen in two ways. You can add the media type using the IIS manager (https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc753281(v=ws.10)) or you can add the following entries to web.config:
<configuration> <system.webServer> <staticContent> <remove fileExtension=".svg"/> <mimeMap fileExtension=".svg" mimeType="image/svg+xml"/> <remove fileExtension=".svgz"/> <mimeMap fileExtension=".svgz" mimeType="image/svg+xml"/> </staticContent> </system.webServer></configuration>