Cross-Origin Request Blocked

For Microsoft IIS7, merge this into the web.config file at the root of your application or site:

<?xml version="1.0" encoding="utf-8"?>
       <add name="Access-Control-Allow-Origin" value="*" />

For Apache

Via .htaccess
<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"

Or set correct headers into the response header of the requested file, you will allow everyone to access the ressources:

Access-Control-Allow-Origin : *
Access-Control-Allow-Origin :
Enter your comment:
113 -6 = 
  • development/js/cross-origin_request.txt
  • Last modified: 2019/10/31 09:04
  • by