From 01e9b906d26c02d0a462d11a9f3ef2439c170aa6 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 2 Jul 2014 17:23:37 +0100 Subject: [PATCH] Add commented-out non-proxied version of the SP auth URL. This DOES NOT work: the error message in the JavaScript console is: XMLHttpRequest cannot load http://sp-mkc-sansa.indexdata.com:8080/service-proxy/?command=auth&action=check,login&username=orex&password=orexmkc. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://x.example.indexdata.com' is therefore not allowed access. I think this must be because of the mod_perl magic on mkws.indexdata.com, which I'd all but forgotten about. From mkws/tools/apache2/mkws-live: PerlOptions +Parent PerlSwitches -I/home/indexdata/mkws/tools/mod_perl PerlOutputFilterHandler MyApache2::SetACAO --- examples/htdocs/mike.html | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/htdocs/mike.html b/examples/htdocs/mike.html index cf9c174..c2b7c2f 100644 --- a/examples/htdocs/mike.html +++ b/examples/htdocs/mike.html @@ -6,6 +6,7 @@ -- 1.7.10.4