#include <dantom\cgi\CGI.dme>
CGI
authenticate = 1
Topic(href)
usr << "Got Stuff!<br>"
usr << "Your ckey is [usr.ckey]"
Problem description:
Okay, I'm trying to use DMCGI to authenticate users to my site. I've actually done this before (two years ago) but have misplaced that code. I have a dmb setup as a CGI script; that all works fine and as expected as long as /CGI/authenticate = 0.
I expect that if CGI/authenticate = 1 then any unauthenticated requests will be redirected to beyond.com (which works fine) and then redirected back (which also happens) and I'd know their ckey. However what I get is:
BUG: Unable to determine certification domain
Detailed Details:
1. Request made to https://mydomain/blah/blah.dmb
2. Redirected to https://secure.byond.com/login.cgi/?login=1;url=https:// mydomain/blah/blah.dmb;noscript=1
3. Redirected to https://mydomain/blah/ blah.dmb?byondcert=xxxxxxxxxxxxxxxxxxxxxxxx&byondcertexp=
4. That request errors out.
Environment
Obviously on linux.
I have tried this with BYOND 470.1075, 500.1205, and 510.1346 with the same effect.
Assuming the root for the webserver is /var/www.