First attempt at Access-Control-Allow-Origin
authorMike Taylor <mike@indexdata.com>
Wed, 19 Jun 2013 17:00:49 +0000 (18:00 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 19 Jun 2013 17:00:49 +0000 (18:00 +0100)
etc/apache2/spclient-live

index fd850fa..0d5a5c3 100644 (file)
@@ -16,6 +16,9 @@
     RewriteLog /var/log/apache2/mkws-rewrite.log 
     RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P]
 
+    ### Way too general: should limit by requested URL and origin
+    Header set Access-Control-Allow-Origin "*"
+
     # For MKC Service Proxy
     ProxyPass        /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
     ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/