How to enable Cross-Site XMLHttpRequests (Cors) using .htaccess

Are you looking to a mechanism that allows restricted resources on a web page to be requested from another domain? Check out this blog for more details.