Disable Access-Control-Allow-Origin from Apache or htaccess?
in my local machine when I try to send request via ajax using cross domains the request doesn't complete I added this options to .htaccess file
Header always set Access-Control-Allow-Origin "Note
when I sent the request on my cPanel hosting the response was this message
Failed to load ' is therefore not allowed access.
which mean the Access-Control-Allow-Origin has been set somewhere else
Please sign in to leave a comment.
Comments
0 comments