ACGI with OS X Server 10.1.5?

I’m trying to get started with an AppleScript CGI that will accept form POST
data, run a few scriptable apps, and return an informative result page to
the browser.

I’m using OS X Server 10.1.5 – so from what I understand, I shouldn’t have
a problem doing this with Apache. But alas, I’m having problems anyway.

It’s shocking how little data is available on this topic – I haven’t had
any luck finding much of anything so far that doesn’t relate to 1995-era
AppleScript CGIs using WebSTAR.

There’s a very brief mention here:
http://kbase.info.apple.com/cgi-bin/WebObjects/kbase.woa/wa/query?searchMode
=Assisted&type=id&val=KC.106519

… Which says that “ACGI Enabler” needs to be running in order for
AppleScript CGIs to work with Apache. I’ve got that running – acgid v1.0c9.

With every script I try, I get this error: can’t AESend(): -1712

I think I’ve got everything configured correctly, but obviously I’m missing
something. Does anyone have experiences they can share from using
AppleScript CGIs on OS X Server?

Thanks,
-Clay