A
A
Alexander Pankov2019-03-07 08:42:55
htaccess
Alexander Pankov, 2019-03-07 08:42:55

Why ajax requests from vue don't work in Safari?

Hello.
there is an application on vue, accesses the same domain to pull up the data.
this application is located in the /admin folder,
NUANCE
the entire site is closed by http authorization via htaccess, except for the folder with the vue application, this folder also has htacces with content

Satisfy Any
Order Allow,Deny
Allow from all

in chrome, the application works well, but in safari it doesn’t work and writes
Access-Control-Allow-Origin is not allowed” for any request from under vue,
why does it pop up and what to do?
I noticed that if we close all folders on the http server with authorization, then the application works fine everywhere ..
I conclude that the problem is in htaccess, which is in the folder with vue (which should open it without authorization) and the code above ..

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question