title: Access-Control-Allow-Origin: * not working?
body: <p>Classic "Origin ... is not allowed by Access-Control-Allow-Origin" problem.  Two machines serve contents for the same website.  When machine A does a <code>$('#main').load('link_to_resource_on_B')</code> via jquery, machine B serves up the content with mod_python, adding <code>Access-Control-Allow-Origin: *</code> header.  But for some reason, this still does not work.  I tested this on Chrome, Safari, and Internet Explorer.  And I tested via command line to check the response header, it seems <code>Access-Control-Allow-Origin: *</code> is successfully in the header from B.  See below.  What could i be missing?</p>
  
  <pre><code>$ telnet localhost 80
  Trying ::1...
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  GET /tests/python/test/env HTTP/1.1
  host: 10.0.1.10 
  
  HTTP/1.1 200 OK
  Date: Mon, 27 Feb 2012 02:05:33 GMT
  Server: Apache/2.2.20 (Ubuntu)
  Access-Control-Allow-Origin: *
  Vary: Accept-Encoding
  Transfer-Encoding: chunked
  Content-Type: text/html
  </code></pre>