• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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