CORS not working on Chrome/Firefox and Apache CORS not working on Chrome/Firefox and Apache google-chrome google-chrome

CORS not working on Chrome/Firefox and Apache


This is my setup in site.conf that works in production now with apache2

Header set Access-Control-Allow-Origin "*"Header set Access-Control-Allow-Headers "authorization, origin, user-token, x-requested-with, content-type"Header set Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"

for a future reference I strongly suggest to bookmark this site http://enable-cors.org/index.html