projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another attempt to broaden Access-Control-Allow-Origin to "*"
[mkws-moved-to-github.git]
/
etc
/
apache2
/
spclient-live
diff --git
a/etc/apache2/spclient-live
b/etc/apache2/spclient-live
index
1c052ca
..
b64f5f8
100644
(file)
--- a/
etc/apache2/spclient-live
+++ b/
etc/apache2/spclient-live
@@
-23,15
+23,14
@@
RewriteEngine on
RewriteLogLevel 1
RewriteLog /var/log/apache2/mkws-rewrite.log
RewriteEngine on
RewriteLogLevel 1
RewriteLog /var/log/apache2/mkws-rewrite.log
- RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P]
- RewriteRule /service-proxy/auth /service-proxy/?command=auth&action=login&username=guest&password=guest [P] # [NE,P]
+ 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-Credentials true
# For MKC Service Proxy
Header set Access-Control-Allow-Credentials true
# For MKC Service Proxy
- ProxyPass /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
- ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/
+ ProxyPass /service-proxy/ http://mk2-test.indexdata.com/service-proxy/
+ ProxyPassReverse /service-proxy/ http://mk2-test.indexdata.com/service-proxy/
# Although what follows works perfectly well, it's no use to us:
# IE8/9 are unable to set or read ANY headers when operating in
# Although what follows works perfectly well, it's no use to us:
# IE8/9 are unable to set or read ANY headers when operating in