LiveCode cgi and https?

Curt Ford cford at mailbox.sc.edu
Wed Apr 25 11:03:12 EDT 2012


I have a LiveCode cgi that takes a few parameters from a form on a web page, generates a registration code from another stack on the server, and sends out an e-mail.

It's working well in tests on my server (I'm using on-rev). The client has recently switched to Bluehost with an SSL certificate so we can use https for another part of the project. I've copied the files over from my server, double-checked permissions and paths, but after filling in the form I get the error:

[an error occurred while processing this directive]

When I test sending the data from the message box in LiveCode I get this error:

<!-- SHTML Wrapper - 500 Server Error -->
[an error occurred while processing this directive]
error 500 Internal Server Error

Anybody know if this suggests it's connected to the fact that we now have a certificate? Would the line in the form page

<FORM ACTION="../../cgi-bin/keygentest.cgi" METHOD=POST>

need to change?

I don't have full access to the error logs, unfortunately; the ones forwarded by the client don't seem to have anything relating to this cgi.

thanks for any ideas..

Curt



More information about the use-livecode mailing list