I’m testing out Bootstrap 3.1.1 by redoing the design of a very old site of mine, running on Php 5.3 on a Windows 2008/IIS 7 server.
The new version of the site has been slow at loading the icons (wich are a Glyphicons web font) for buttons and when I check the Javascript console in Chrome (Ctrl+Shift+J) it shows the following error:
[code]GET /fonts/glyphicons-halflings-regular.woff 404 (Not Found)[/code]
After much testing and Googling it turns out my old IIS server does not have Mime types registered for .woff files.
So I go in to the IIS console, click MIME Types icon and add .woff as application/octet-stream – problem solved!
Thanks m8.
Im new to IIS (Its kinda a lot of stuff not working straight out of it,) and old in apache.
Im really glad you posted this, so big thanks.
Hate those 404…
Great thanks! new to IIS.
Thanks a lot for the fix, it worked like a charm
Big thanks @Max for this great hint! I’ve never expected IIS to be the source of this issue.
Thanks a lot for the fix. This was troubling me since very long. Thanks for the help
Thanks, for your ideas. i am forgot to add .woff2 in my web.xml servlet mapping file.
Thanks for this!!!
For what it’s worth… I am hosted on GoDaddy and the solution for me was to add the following entries to the web.config file:
(I hope it was an adequate solution… it seems to be working!)
Hum… my entries did not show up. I’ll try without the brackets. If it shows up this time, you should get the drift.
system.webServer
staticContent
remove fileExtension=”.woff”
mimeMap fileExtension=”.woff” mimeType=”TYPE/SUBTYPE”
remove fileExtension=”.woff2″
mimeMap fileExtension=”.woff2″ mimeType=”TYPE/SUBTYPE”
staticContent
system.webServer
Worked! Thanks alot
Thanks for this – it solved my problem.
FUNCIONA DE MARAVILLA!
Very helpful. Thank you!!!
Thanks man! you answer save my life! awesome!
Thanks for the info!
Thanks buddy !
Very very helpful. Thank you