in reply to Mac::AppleScript::Glue in CGI script
See the CGI Help Guide. Amongst your issues is not printing a valid header (500 Internal Server Error). However if you did have a valid header and it runs on the command line the problem is almost certainly permissions as a CGI runs as the webserver user (nobody or apache typcially) not user you. Add this to see what the problem is:
BEGIN { $|=1; print "Content-type: text/html\n\n"; use CGI::Carp('fatalsToBrowser'); }
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mac::AppleScript::Glue in CGI script
by Cody Pendant (Prior) on Nov 13, 2004 at 08:44 UTC | |
by saberworks (Curate) on Nov 13, 2004 at 09:13 UTC | |
by tachyon (Chancellor) on Nov 13, 2004 at 09:49 UTC |