How to set CORS to work with Apache ?
-
Hi Leo,
I try follow https://awesometoast.com/cors/ to enabled
mod_headers.so
and addHeader always set Access-Control-Allow-Origin "*"
to my .htaccess but it's not working. What I miss to set for config ?Thank you
-
@liaosankai : How about enable mod_headers.so and put the line at the end of httpd.conf?
Header always set Access-Control-Allow-Origin "*"