From: Mike Taylor Date: Wed, 19 Jun 2013 17:00:49 +0000 (+0100) Subject: First attempt at Access-Control-Allow-Origin X-Git-Tag: 0.9.1~575^2~9 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=1cd58736f1c3805fe201f9f71df14079eee53472;p=mkws-moved-to-github.git First attempt at Access-Control-Allow-Origin --- diff --git a/etc/apache2/spclient-live b/etc/apache2/spclient-live index fd850fa..0d5a5c3 100644 --- a/etc/apache2/spclient-live +++ b/etc/apache2/spclient-live @@ -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/