Apache & Applescript CGI's

megus

Registered
Does anybody know if it's possible to use Applescript CGI's in Apache for Mac OS X Client? According to Apple's Mac OS X Server pages there seem to be support and even an example available for download.
I downloaded the example but can't get it to work ("Internal Server Error").

If for some reason it isn't possible, does anybody know of any alternate way to get CGI-functionality in REALbasic programs?

//megus
 
in /var/log/httpd/

should be some info there about what the error was

did you chmod 755 thescript
and it is in the cgi-bin (CGI-Executables) directory



????
 
Yes, I chmod:ed the file.

The log-entry in error_log reads:
Premature end of script headers: /Library/WebServer/CGI-Excecutables/test.cgi
I don't know if this is a good sign (it recognizes the applescript code, but something is wrong in it) or bad sign (this message would appear if you try to excecute a file that isn't a qualified cgi-script).

I did some investigating since I submitted the question.
Is there a module I should load/get hold of. I read that Tenon (WebTen) uses their own module called mod_wsapi to enable WebStar type CGI's in their implementation of Apache on Mac OS 9.

//megus
 
Ok, I finally found the answers I needed.

Apparently, AppleScript CGI's (and my REALbasic CGI's that uses AppleEvents) only are supported on the Mac OS X Server with Classic and a utility called ACGI Enabler.

So now I'm wondering; which other script-language besides AppleScript can tell Stuffit Deluxe what to do?

//megus
 
Back
Top