The Apache-Apple Event Bridge or AAEB enables you to run AppleScripts via Apache on Mac OS X 10.4, 10.5, and 10.6 (both client and Mac OS X Server). You can also run all sorts of apps that expect to receive a CGI Request via an Apple Event.
It takes less than a minute to set up: Click here to watch the video. For more information, see http://aaeb.net/