From: Mike Taylor Date: Thu, 27 Jun 2013 08:54:36 +0000 (+0200) Subject: Still not working when Access-Control-Allow-Origin is "*", X-Git-Tag: 0.9.1~452 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=92b450de0e073121030723959e7b7b5527f1b890;p=mkws-moved-to-github.git Still not working when Access-Control-Allow-Origin is "*", seems to need explicit "http://somesite.indexdata.com". --- diff --git a/etc/apache2/spclient-live b/etc/apache2/spclient-live index 5c7bc13..57c62a7 100644 --- a/etc/apache2/spclient-live +++ b/etc/apache2/spclient-live @@ -25,8 +25,8 @@ RewriteLog /var/log/apache2/mkws-rewrite.log RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=demo&password=demo [P] # [NE,P] -# Header set Access-Control-Allow-Origin "http://somesite.indexdata.com" - Header set Access-Control-Allow-Origin "*" + Header set Access-Control-Allow-Origin "http://somesite.indexdata.com" +# Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Credentials true # For MKC Service Proxy