From: Mike Taylor Date: Thu, 27 Jun 2013 11:13:44 +0000 (+0200) Subject: Simplify configuration X-Git-Tag: 0.9.1~446 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=a17155e8eae4586f0c14a90113b1b74bbcf4881d;p=mkws-moved-to-github.git Simplify configuration --- diff --git a/etc/apache2/spclient-live b/etc/apache2/spclient-live index 11355b8..dfa7ed4 100644 --- a/etc/apache2/spclient-live +++ b/etc/apache2/spclient-live @@ -25,27 +25,12 @@ RewriteLog /var/log/apache2/mkws-rewrite.log RewriteRule /service-proxy-auth /service-proxy/?command=auth&action=login&username=demo&password=demo [P] # [NE,P] -# We want *, but can't use credentials unless we specify a particular origin -# Instead, we generate the header using mod_perl: see below. -# 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 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 - # CORS mode. - # - # PerlOptions +Parent - # PerlSwitches -I/home/indexdata/mkws/etc/mod_perl - # - # PerlInputFilterHandler MyApache2::CopyCookie - # PerlOutputFilterHandler MyApache2::CopyCookie - # - PerlOptions +Parent PerlSwitches -I/home/indexdata/mkws/etc/mod_perl