我遇到了字体真棒图标的问题。 IE10上没有任何内容。它们适用于所有其他浏览器。如果我去字体真棒网站,我可以看到它们,所以我知道它不是我的安全设置。我正在从我的目录中提供fa。
来自font-awesome.css的标题
**Key** **Value**
Response HTTP/1.1 200 OK
Date Wed, 23 Mar 2016 20:19:23 GMT
Server Apache
Strict-Transport-Security max-age=31536000; includeSubDomains
Last-Modified Thu, 25 Feb 2016 21:08:44 GMT
Accept-Ranges bytes
X-Frame-Options SAMEORIGIN
Cache-Control max-age=600
Keep-Alive timeout=5, max=99
Connection Keep-Alive
Content-Type text/css
Content-Length 6,588
这是我的htaccess
<FilesMatch "\.(ttf|otf|eot|woff|font.css)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
# webfont mime types
AddType font/ttf .ttf
AddType font/eot .eot
AddType font/otf .otf
AddType font/woff .woff
# webfonts and svg:
<IfModule mod_deflate.c>
<FilesMatch "\.(ttf|otf|eot|svg)$" >
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>