projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ed3b6d
)
First attempt at Access-Control-Allow-Origin
author
Mike Taylor
<mike@indexdata.com>
Wed, 19 Jun 2013 17:00:49 +0000
(18:00 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 19 Jun 2013 17:00:49 +0000
(18:00 +0100)
etc/apache2/spclient-live
patch
|
blob
|
history
diff --git
a/etc/apache2/spclient-live
b/etc/apache2/spclient-live
index
fd850fa
..
0d5a5c3
100644
(file)
--- 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/