Failed to load resource: *.woff


#1

Failed to load resource: the server responded with a status of 404 (Not Found)
Example:
http://allday-blog.gearhostpreview.com/man/static/style/font-awesome/font/fontawesome-webfont.woff?v=3.2.1

by the way :
this file fontawesome-webfont.woff is exist!


#2

I’m having a similar issue, also with font awesome. It appears that the mime type for this file is not included by default.


#3

For future users you will need to add this MIME type to your web.config. I’ll be updating our article here for future reference: https://www.gearhost.com/documentation/mime-types

<system.webServer>







</system.webServer>


#4

For future users you will need to add this MIME type to your web.config. I’ll be updating our article here for future reference:

<system.webServer>
  <staticContent>
     <!-- remove first in case they are defined in IIS already, which would cause a runtime error -->
     <remove fileExtension=".woff" />
     <remove fileExtension=".woff2" />
     <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
     <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
  </staticContent>
</system.webServer>