Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2021-07-16 09:23:02

simonwebb02
New member
Registered: 2021-07-15
Posts: 4

Blocked by CORS policy

Hi,

Can someone help me this this problem?

It there an easy fix to the CORS policy, I believe added the correct .htaccess file but still it doesn't work

Access to script at 'website address' from origin 'website address' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.


Many thanks

Simon

Offline

#2 2021-07-18 15:25:13

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Offline

#3 2021-07-19 08:31:03

simonwebb02
New member
Registered: 2021-07-15
Posts: 4

Re: Blocked by CORS policy

Hi,

Sorry that didn't work Access-Control-Allow-Origin is enabled. Not sure what else I can do any other ideas?

Offline

#4 2021-07-19 08:58:47

simonwebb02
New member
Registered: 2021-07-15
Posts: 4

Re: Blocked by CORS policy

HTTP / HTTPS Header Check


HTTP/1.1 200 OK =>
Date => Mon, 19 Jul 2021 10:05:00 GMT
Server => Apache
Set-Cookie => PHPSESSID=50d8aebcv681gc34hj2hfvndi0; path=/
Expires => Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control => no-store, no-cache, must-revalidate
Pragma => no-cache
Vary => Accept-Encoding
Access-Control-Allow-Origin => *
Content-Length => 7831
Connection => close
Content-Type => text/html; charset=UTF-8

Offline

#5 2021-07-20 09:00:43

simonwebb02
New member
Registered: 2021-07-15
Posts: 4

Re: Blocked by CORS policy

It there anything more needed to be configured on Apache?

Many thanks

Simon

Offline

Board footer