17
07/2017
Bootstrap: glyphicons-halflings-regular.woff2 404 not found
This problem happens because IIS does not know about woff and woff2 file mime types.
To solve this problem, we can add the following lines in the web.config file.
<configuration> <system.web> ... </system.web> <system.webServer> <staticContent> <remove fileExtension=".woff" /> <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" /> <remove fileExtension=".woff2" /> <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> </staticContent> </system.webServer> </configuration>
Reference:
1 条评论