标签:
参考资料:http://www.zhidao91.com/glyphicons-halflings-regular-woff-404-not-found/
是因为IIS不支持这种文件的访问,这样修改网站根目录下的web.config添加如下代码即可
1 <staticContent> 2 <remove fileExtension=".woff"/> 3 <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> 4 </staticContent>
.woff2等文件也是类似
Bootstrap,Font Awesome等组件中 .woff字体报404错的解决办法
标签:
原文地址:http://www.cnblogs.com/shanejim/p/5207682.html