From: Mike Taylor Date: Wed, 2 Jul 2014 16:23:37 +0000 (+0100) Subject: Add commented-out non-proxied version of the SP auth URL. X-Git-Tag: 1.0.0~455 X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=commitdiff_plain;ds=sidebyside;h=01e9b906d26c02d0a462d11a9f3ef2439c170aa6;p=mkws-moved-to-github.git 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 --- 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 @@