• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Issue CORS and IE11

Robin McDermott

Basic Pleskian
Hello,

On my server, I have one domain pulling info from another domain that is on the same server using CORS. I have added [Header set Access-Control-Allow-Origin "*"] in additional directives for HTTP and HTTPS in Apache and nginx settings for the domain pulling the info from the other domain.

The site is working fine in Chrome, FireFox, and Edge. In IE11 I get an "Access is Denied" error message.

Googling around, I see that one possible problem is that the sharing of resources is happening on the same server. I also noted that perhaps the problem can be resolved by "trusting" both sites. Since I don't have control over the end users machines, this is not a feasible option for me.

Interestingly, I didn't have this problem on my old server that I just migrated from. It was Plesk 12.x. The only difference is that the directive was written a little differently [add_header 'Access-Control-Allow-Origin' "*";] and it was in Additional Directives for nginx. I can't say why it was under the nginx directives, but I don't have nginx running on this computer and don't need it so I haven't installed it.

I need help :)
 
Back
Top