Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https: //blog.csdn.net/smartsmile2012/article/details/56290724
recent project uses fontawesome-webfont.svg and other font. After the deployment project, we found no <, +, etc. bullets, fonts not right, find the browser can not find always reported woff, woff2 font errors.
The reason: because the IIS server does not recognize SVG, WOFF / WOFF2 these file types, just add MIME type on the IIS can be.
Login URL to download the corresponding file on their own projects http://fontawesome.io/#modal-download
1. Open the IIS Server Manager, find the MIME type.
2, add a MIME type to add three:
File extension MIME type
.svg image/svg+xmz
.woff application/x-font-woff
.woff2 application/x-font-woff
Note: This article fill in the next version win7 environment in IIS7 MIME type
----------------
Disclaimer: This article is CSDN blogger "smartsmile2012 'original article, follow the CC 4.0 BY- SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/smartsmile2012/article/details/56290724