buc99
Don't Tread on Me!
I am trying to learn applescript.
The more I delve into it the more I start to believe it is almost a dead language.
Very little information on it.
I've yet to find a proper explanation on how to read a "Dictionary".
And now, it seems that Apache does not want to work with applescript cgi's OSX. Does anyone know if it is possible to use Applescript as cgi in OSX 10.2? Do I need to tweak some setting in Apache?
When I run a test.cgi script written in Applescript I get the following in the browser:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
I get the following from the server log:
[Sun Oct 6 14:37:07 2002] [error] (8)Exec format error: exec of /Library/WebServer/CGI-Executables/test.cgi failed
[Sun Oct 6 14:37:07 2002] [error] [client xx.xx.xx.xx] Premature end of script headers: /Library/WebServer/CGI-Executables/test.cgi
Any ideas how to get this to work?
Thanks.
SA

The more I delve into it the more I start to believe it is almost a dead language.
Very little information on it.
I've yet to find a proper explanation on how to read a "Dictionary".
And now, it seems that Apache does not want to work with applescript cgi's OSX. Does anyone know if it is possible to use Applescript as cgi in OSX 10.2? Do I need to tweak some setting in Apache?
When I run a test.cgi script written in Applescript I get the following in the browser:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
I get the following from the server log:
[Sun Oct 6 14:37:07 2002] [error] (8)Exec format error: exec of /Library/WebServer/CGI-Executables/test.cgi failed
[Sun Oct 6 14:37:07 2002] [error] [client xx.xx.xx.xx] Premature end of script headers: /Library/WebServer/CGI-Executables/test.cgi
Any ideas how to get this to work?
Thanks.
SA
