I got this email from Cory (my applescript/perl guru friend) today:
I’m starting to be afraid I led you down a rabbit hole with the
I found this, which you might want to check out:
Turns out my plan to have an applescript launched from my perl backend won’t work because of the way apache is set up.
“Unfortunately, with the advent of OS-X, server support for Applescript went away. Personal Web Sharing is now reliant on the very robust apache server, which is great, but apache does not directly support “sdoc” (AppleEvent) CGIs such as Applescripts” (from link above).
Apparently, there’s third party app called Peacepipe that gets around this. But i’d really like to bypass it without adding anymore componenets.
It seems like it’s totally a permissions problem. I can put data in through the web. I can run my applescript through the command line. But the bridge between them is locked.
I think it’s time to call Dedi hubbard.