Enable a Cross-Domain Policy For Files Using .htaccess

Here is a one liner for your .htaccess that will enable scripts in that same folder to be used across domains.

{syntaxhighlighter brush: bash;gutter: false; light: true; fontsize: 100; first-line: 1; }Header add Access-Control-Allow-Origin “*”{/syntaxhighlighter}

Leave a comment

Your email address will not be published. Required fields are marked *