I would like to set the following header to allow external access to some static content (xml files on my web): Access-Control-Allow-Origin: *
I'm generating some static content I am trying to load in on another domain and getting XMLHTTPRequest errors: XMLHttpRequest cannot load https://mysite.com/myfile.xml. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://othersite.com/script.js' is therefore not allowed access.