Hello,
I read 
"https://ubiq.co/tech-blog/set-access-control-allow-origin-cors-headers-apache/#:~:text=CORS%20in%20Apache-,To%20set%20Access%2DControl%2DAllow%2DOrigin%20header%20in%20Apache,VirtualHost%3E%20sections%20of%20your%20file.&text=The%20above%20line%20will%20allow,requests%20from%20all%20other%20domains.";
 and I want to enable CORS in the Apache. I have a Virtual Host file under the 
"/etc/httpd/conf.d/" directory. I opened it and added below line to the 
"<VirtualHost *:80>...</VirtualHost>" section:

Header set Access-Control-Allow-Origin "My_Web_Site.com"

Is it enough?

Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to