I want to configure apache to allow XMLHttpRequests from multiple, but not all domains.
This works:
Header set Access-Control-Allow-Origin "*"
But it's unsafe, I want to allow domains specified by me, so after a bit of googling I got to this:
Header set Access-Control-Allow-Origin "http://domain1.com http://domain2.com"
But this only picks up first domain, the second is not allowed. How to properly specify multiple domains?