title: htaccess Access-Control-Allow-Origin
body: <p>I'm creating a script that loads externally on other sites. It loads CSS and HTML and works fine on my own servers.</p>
  
  <p>However, when I try it on another website it displays this awful error:</p>
  
  <pre><code>Access-Control-Allow-Origin
  </code></pre>
  
  <p>Here you can see it loads perfectly: <a href="http://tzook.info/bot/">http://tzook.info/bot/</a></p>
  
  <p>But on this other website it shows the error:
  <a href="http://cantloseweight.co/robot/">http://cantloseweight.co/robot/</a></p>
  
  <p>I uploaded the loading script to jsfiddle:
  <a href="http://jsfiddle.net/TL5LK/">http://jsfiddle.net/TL5LK/</a></p>
  
  <p>I tried editing the htaccess  file like this:</p>
  
  <pre><code>&lt;IfModule mod_headers.c&gt;    
      Header set Access-Control-Allow-Origin *
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Or like this:</p>
  
  <pre><code>Header set Access-Control-Allow-Origin *
  </code></pre>
  
  <p>But it still doesn't work.</p>