Solved: Firefox and IE blocking font awesome (CORS)
It seemed today that Firefox
was blocking the font files when using font-awesome and the web
didn't work properly. But our friend Jorge from the
Sphinxdev blog explained us a solution..
In order to enable automatically CORS when
a TTF, OTF, EOT or WOFF file is detected you only have to
create a .conf file
insde /etc/httpd/conf.d with any name and paste
inside:
AddType application/font-woff woff
AddType application/vnd.ms-fontobject eot
AddType application/x-font-ttf ttc ttf
AddType font/opentype otf
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
<FilesMatch ".(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
Then restart apache and that's all. Thank you Jorge!