set allow origin header htaccess code example
Example 1: access-control-allow-origin htaccess
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin *
</IfModule>
Example 2: access-control-allow-origin htaccess
Header set Access-Control-Allow-Origin *