Solution of glyphicons halflings regular. woff font report 404 error notfound in Bootstrap

  • 2021-07-12 05:14:26
  • OfStack

Looking at the source code of the website today, I found that there is an glyphicons-halflings-regular. woff file that can't be found, because my website uses the Glyphicons font icon of bootstrap, so I need to load the related files of Glyphicons Halflings, but I clearly have this file in my file. How can I report 404 errors?

Check the next blog and find the solution to share with you. 1 Add the following code segment in web. config


 <system.webServer>
  <staticContent>
<remove fileExtension=".woff"/>
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
</staticContent>
 </system.webServer>

Related articles: