CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
My icon fonts, downloaded through icomoon have stopped working only on an external server of ours, which still displays the same website. The errors I am getting are:
**downloadable font: download failed (**”src of font”**): bad URI or cross-site access not allowed** – FF
**@font-face failed cross-origin request. Resource access is restricted.** – IE 9&10… 8 works surprisingly.
Have been combating this error for a few days now, and have tried everything under the sun.
I know FF used to (perhaps still does) have issues with Cross Domain font loading.
This might be of assistance: http://css-tricks.com/forums/discussion/21452/font-family-not-working-in-ie9-but-all-other-ies/p1
Since this is IIS, im unsure if I can include that snippet into my web.config…
Header set Access-Control-Allow-Origin “*”
No that is for apace htaccess
you will need to find some other version of that for iss
I run apace so i cant rely help
Being on IIS, I’d say the best way is to just make sure that all your files (HTML, CSS, JS, fonts, etc.) are on the exact same domain.
I recently helped someone with the same issue.
IIS doesn’t use htaccess? Unless you install a third party thingie like Helicon?
Not in all versions of IIS
Correct, IIS does not use htaccess.
Though, what i did to solve the problem was create a web.config file in my fonts folder and BOOM…
< ?xml version="1.0"?>
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed