A little late with this follow-up. Sorry about that.
First, thank you to Mark J. Reed, Alex Zavatone, and Laine Lee for their assistance in making things work. It appears though that somehow I have mangled my Apache configuration on the machine in question, and I don't know enough to repair it.
Also, thanks to Emmanuel LEVY for his suggestion to try his cgismile product. I didn't try it, but that is only because by that time I had already tried David Dantowitz's excellent "Apache-Apple Event Bridge" (AAEB, available at http://aaet.net) with great success (on another machine, one with a pristine Apache configuration). It's working perfectly for me.
It does not appear that ACGI Dispatcher is a supported product anymore, unfortunately.
AAEB looks to be the answer for me here. There may be other ways of making things work, and probably my problem was more based in a munged Apache configuration than in anything else, but AAEB works so well and is so easy to set up that I'm going to use it from here forward. Worth a look, if you're trying to use a web page as a front-end to run scripts.
c On Oct 23, 2010, at 8:31 PM, Christian Boyce wrote: I am trying to make a CGI using AppleScript, as in Matt Neuberg's "AppleScript: The Definitive Guide" (page 379). I am not able to make it work. Has anyone made it work with Mac OS X 10.6.4? I am following Neuberg's instructions as best I can (he write about ACGI Dispatcher 2.5 and I am using 3.0, which is a little different) but no matter what I do, it doesn't work. I get this message:
You don't have permission to access /cgi-bin/echo.acgi/ on this server.
when trying to load a page with "echo.acgi" being the AppleScript application that ought to be loaded.
If this method doesn't work, maybe someone has a suggestion for me? My goal: make a web page with links that send AppleEvents to iTunes and other applications. Has to work in 10.6.4.
|