title: How to get fonts loading cross domain in Firefox
body: <p>I'm using limelight CDN for static files. I get the error in native firefox inspector:</p>
  
  <p>downloadable font: download failed (font-family: "nimbus-bold" style:normal weight:normal stretch:normal src index:1): bad URI or cross-site access not allowed
  source: <a href="http://cdn-store.example.com/fonts/nimbussanspot-bold-webfont.woff" rel="nofollow">http://cdn-store.example.com/fonts/nimbussanspot-bold-webfont.woff</a></p>
  
  <p>CSS:</p>
  
  <pre><code>@font-face {
  font-family: 'nimbus-bold';
  src: url('/fonts/nimbussanspot-bold-webfont.eot');
  src: url('/fonts/nimbussanspot-bold-webfont.eot%3F%23iefix') format("embedded-opentype");
  src: url('/fonts/nimbussanspot-bold-webfont.woff') format("woff");
  src: url('/fonts/nimbussanspot-bold-webfont.ttf') format("truetype");
  src: url('/fonts/nimbussanspot-bold-webfont.svg%23nimbus_sans_p_otbold') format("svg");
  font-weight: normal;
  font-style: normal;
  }
  </code></pre>
  
  <p>I tried the following, but it did not help:</p>
  
  <pre><code>&lt;FilesMatch "\.(ttf|otf|woff)$"&gt;
  &lt;IfModule mod_headers.c&gt;
      Header set Access-Control-Allow-Origin "*"
  &lt;/IfModule&gt;
  &lt;/FilesMatch&gt;
  
  -bash-4.1$ curl -I http://cdn-store.example.com/fonts/nimbussanspot-bold-webfont.woff
  HTTP/1.1 200 OK
  Date: Thu, 13 Feb 2014 16:58:05 GMT
  Server: Apache/2.2.15 (Oracle)
  Last-Modified: Thu, 13 Feb 2014 15:45:31 GMT
  Accept-Ranges: bytes
  Vary: Accept-Encoding,User-Agent
  Access-Control-Allow-Origin: *
  Content-Type: text/plain
  Content-Length: 24040
  Connection: keep-alive
  
  -bash-4.1$ curl -I http://store.example.com/fonts/nimbussanspot-bold-webfont.woff
  HTTP/1.1 200 OK
  Date: Thu, 13 Feb 2014 17:04:10 GMT
  Server: Apache/2.2.15 (Oracle)
  Last-Modified: Thu, 13 Feb 2014 15:45:31 GMT
  ETag: "146124-5de8-4f24b944b4eff"
  Accept-Ranges: bytes
  Content-Length: 24040
  Vary: Accept-Encoding,User-Agent
  Access-Control-Allow-Origin: *
  Connection: close
  Content-Type: text/plain
  </code></pre>
  
  <p>EDIT:
  with 'AddType' directive I get the following results, however the fonts don't load</p>
  
  <pre><code>$ curl -I http://store.example.com/fonts/nimbussanspot-bold-webfont.woff
  HTTP/1.1 200 OK
  Date: Fri, 14 Feb 2014 15:09:02 GMT
  Server: Apache/2.2.15 (Oracle)
  Last-Modified: Thu, 13 Feb 2014 15:45:31 GMT
  ETag: "146124-5de8-4f24b944b4eff"
  Accept-Ranges: bytes
  Content-Length: 24040
  Vary: Accept-Encoding,User-Agent
  Access-Control-Allow-Origin: *
  Connection: close
  Content-Type: application/x-font-woff
  
  $ curl -I http://cdn-store.example.com/fonts/nimbussanspot-bold-webfont.woff
  HTTP/1.1 200 OK
  Server: Apache/2.2.15 (Oracle)
  Accept-Ranges: bytes
  Vary: Accept-Encoding,User-Agent
  Access-Control-Allow-Origin: *
  Content-Type: application/x-font-woff
  Age: 55
  Date: Fri, 14 Feb 2014 15:08:59 GMT
  Last-Modified: Thu, 13 Feb 2014 15:45:31 GMT
  Content-Length: 24040
  Connection: keep-alive
  </code></pre>