Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

No 'Access-Control-Allow-Origin' header is present on the requested resource

  • Last Post 24 April 2020
Simnico posted this 23 April 2020

OS Name/Version: Windows Server 2019

Product Name/Version: McMyAdmin 3 / w AMP

Problem Description:
Trying to access the web pannel from my website using Cross-origin resource sharing.

Gives out error:
No 'Access-Control-Allow-Origin' header is present on the requested resource

Steps to reproduce:

1- Open another website
2- Enter this javascript code:

    $(document).ready(function () {



3- Look at the console it gives you this error:
McMyAdmin:1 Access to XMLHttpRequest at '' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Actions taken to resolve so far:
Tried to find the config for the web server of McMyAdmin didn't find any.

Mike posted this 24 April 2020

This would be a massive security hazard. You need a backend server-side application to do what you're after safely.