Skip to main content

Can't get CORS to work

Comments

4 comments

  • cPRex Jurassic Moderator
    Hey there! Adding the entry to the .htaccess file is all that is necessary to get that working. That's the official detail from the CORS team here:
    0
  • cPRex Jurassic Moderator
    There is also a test at that site you can use after you'd added the .htaccess entry: test-cors.org
    0
  • WebHostPro
    You wouldn't happen to know how that tool works do you? It just gives an output. My output was: Sending GET request to blog.webhost.pro Fired XHR event: loadstart Fired XHR event: readystatechange Fired XHR event: readystatechange Fired XHR event: progress Fired XHR event: readystatechange Fired XHR event: load XHR status: 200 XHR status text: XHR exposed response headers:cache-control: public, max-age=600 content-encoding: gzip content-type: text/html date: Mon, 26 Sep 2022 20:48:21 GMT etag: "1rO4KQ" expires: Mon, 26 Sep 2022 20:58:21 GMT server: Google Frontend x-cloud-trace-context: 91b55200c81f54fbb0cc51f395afd2d2 Fired XHR event: loadend
    0
  • cPRex Jurassic Moderator
    No, unfortuantely I have no other details about that tool. Are those the headers you are expecting? If not, it might be best to submit a ticket to our team so we can check your specific machine's Apache headers to see what the issue may be.
    0

Please sign in to leave a comment.