Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


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:
B᠎ B P K G
development/js/cross-origin_request.txt · Last modified: 2018/09/18 09:41 by tplecko