Using Applescript for Web Applications

Is it possible to use applescript to bridge web interaction with software applications?

For instance, let’s say I want to be able to trash a log file that resides on my OSX Server, but I need to be able to do it from a web browser. In theory, is it possible to link this applescript (which is simply a script telling the finder to throw away that log file) to a form button on a web page? Like a CGI script? And are there other things possible? Where would I find a good resource for learning about using applescript for web application?

Thanks for any info,
John

You want an acgi. AppleScript CGI.

Look into Ethan Wilde’s “AppleScript for the Internet” book. Although it doesn’t cover OS X, it should provide a good start and/or understand of what’s involved. (Page 179 to be exact)

T.J.