INFO: Using htaccess to enable Cross Origin Resource Sharing (CORS)

Applies To:

  • Linux Web Hosting

Description:

To enable Cross Origin Resource Sharing (CORS) update the .htaccess file in public_html to include the following:

Header set Access-Control-Allow-Origin: *

Important:

CORS is an advanced topic, enabling without understanding the full security implications is not recommended.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 2705