allOrigins icon indicating copy to clipboard operation
allOrigins copied to clipboard

Issue setting up allOrigins on server

Open RileyXX opened this issue 5 years ago • 0 comments

So I was able to install allOrigins on my server successfully however I'm having issues with CORS on subdomain I have it installed on. I have allOrigins setup on my domain as cors.mydomain.com. When I try to make a request from www.mydomain.com I get the following errors:

  1. Access to XMLHttpRequest at 'https://cors.mydomain.com/raw?url=https://youtube.com' from origin 'https://www.mydomain.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
  2. GET https://www.mydomain.com/raw?url=https://youtube.com 403

I created a .htaccess file set it in the cors.mydomain.com root folder to allow requests from mydomain.com but that didn't seem to do anything. Is there some kind of config file I need to modify in order to allow requests from certain domains?

RileyXX avatar Nov 09 '19 10:11 RileyXX