From 2952f66ef5412120da277f030d588af4f0e6528e Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 25 Jun 2013 17:16:11 +0200 Subject: [PATCH] Remove Access-Control-Allow-Headers nonsense. Comment out unneeded complexities of Somesite config. --- etc/apache2/spclient-live | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/etc/apache2/spclient-live b/etc/apache2/spclient-live index 1c00426..1bd022a 100644 --- a/etc/apache2/spclient-live +++ b/etc/apache2/spclient-live @@ -19,7 +19,6 @@ Header set Access-Control-Allow-Origin "http://somesite.indexdata.com" Header set Access-Control-Allow-Credentials true - Header set Access-Control-Allow-Headers "X-Mike, Cookie" # For MKC Service Proxy ProxyPass /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ @@ -35,12 +34,12 @@ DocumentRoot /home/indexdata/mkws/experiments/spclient/ Alias /index.html /home/indexdata/mkws/experiments/spclient/index-somesite.html - 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] - - # For MKC Service Proxy - ProxyPass /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ - ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ +# 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] +# +# # For MKC Service Proxy +# ProxyPass /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ +# ProxyPassReverse /service-proxy/ http://mkc.indexdata.com:9009/service-proxy/ -- 1.7.10.4