I was wondering if anybody can help me set up CORS on my Apache web server. I would appreciate a step-by-step process because many sites online are
The above answer is correct and put Inside the httpd.conf. This should be changed to whatever you set Document Root.
On Ubuntu, httpd.conf is located in the directory /etc/apache2. apache2.conf is also located in /etc/apache2.
On CENTOS 6 httpd.conf in the path /etc/httpd/conf/httpd.
Header set Access-Control-Allow-Origin "*"