This KB illustrates that how to solve font icons missing issue when host the sample in IIS. Solution:You can solve the missing font icons issue through the MIME Types and Request Filtering options available in Internet Information Services (IIS) Manager. Steps to add font icon file types in MIME types:
If you do not have access to the IIS Manager, you can add these declarations in your web.config file, inside <system.webServer> section. web.config: <system.webServer> <staticContent> <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" /> <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" /> <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> </staticContent> </system.webServer> If you are still facing any problems and if IIS is still is not serving the files, then try removing the MIME type declaration and re-declare it. See the example below for the .woff MIME type. web.config: <system.webServer> <staticContent> <remove fileExtension=".woff" /> <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> </staticContent> </system.webServer> STEPS TO ADD FONT ICON FILE TYPES IN REQUEST FILTERING:
If you do not have access to the IIS Manager, you can add these declarations in your web.config file, inside <system.webServer> section. web.config: <system.webServer> <security> <requestFiltering> <fileExtensions> <add fileExtension=".woff" allowed="true" /> <add fileExtension=".ttf" allowed="true" /> <add fileExtension=".woff2" allowed="true" /> </fileExtensions> </requestFiltering> </security </system.webServer>
|
This page will automatically be redirected to the sign-in page in 10 seconds.