SetEnvIf Origin "^http(s)?://(.+\.)?(site1\.com|site2\.com)$" origin_is=$0
Header always set Access-Control-Allow-Origin %{origin_is}e env=origin_is
The Google CDN URL I need to allow is this: https://ajax.googleapis.com/ajax/libs/jquery/1.9/jquery.min.js
So I updated the code to read as follows:
SetEnvIf Vary Origin "^http(s)?://(.+\.)?(site1\.com|site2\.com|.googleapis\.com)$" origin_is=$0
Header always set Access-Control-Allow-Origin %{origin_is}e env=origin_is
However, that code is not working - I'm still getting a "failed to load resource" error. I'm still a noob when it comes to htaccess, but I have been teaching myself. I've searched through the Admin Tools User Guide, the support ticket postings, w3's section on Access-Control-Allow-Origin, and a general google search both with and without "site: akeebackup.com" as part of the options as requested. I'm obviously not getting it. Any advise?
Thank You
Angela
Degarrin