title: Issue with amazon CDN, error 502 on JS and font files
body: <p>I am about to setup a cdn for my website using amazon cloud front.</p>
  
  <p>It works nicely with pictures, but will throw errors on font and js files. The rules are set up exactly the same, I don't know why I am getting this error:</p>
  
  <pre><code>Font from origin 'foo' has been blocked from loading by Cross-Origin 
  Resource Sharing policy. No 'Access-Control-Allow-Origin' header is 
  present on the requested resource. Origin 'bar' is therefore not 
  allowed access. The response had HTTP status code 502.
  </code></pre>
  
  <p>I read about the Access-Control-Allow-Origin header and added it to .htaccess like this but to no avail:</p>
  
  <pre><code>Header add Access-Control-Allow-Origin "*"
  </code></pre>
  
  <p>(Also tried with Domain name, no difference.</p>
  
  <p>Any hint is highly appreciated.</p>