Add commented-out non-proxied version of the SP auth URL.
authorMike Taylor <mike@indexdata.com>
Wed, 2 Jul 2014 16:23:37 +0000 (17:23 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 2 Jul 2014 16:23:37 +0000 (17:23 +0100)
commit01e9b906d26c02d0a462d11a9f3ef2439c170aa6
tree8cce82ec0b30bdecf7ff2a5778de785f608957be
parent522b1cc3b0a56d4cac7293172d431c66341f0feb
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
    <Location /service-proxy>
        PerlOutputFilterHandler MyApache2::SetACAO
    </Location>
examples/htdocs/mike.html