Woff files not found in browser

http://stackoverflow.com/questions/4015816/why-is-font-face-throwing-a-404-error-on-woff-files?rq=1

Solution that worked for me was to add the MIME type in the web config.

<system.webServer>
    <staticContent>
      <remove fileExtension=".woff" /> <!-- In case IIS already has this mime type -->
      <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
    </staticContent>    
  </system.webServer>

Comments

Popular posts from this blog

Asp.net Publishing Broke Site - "App_WebReferences is not allowed because the application is precompiled"

Telerik - Custom Group Footers In RadGrid