Never played with returning binary data, but just added that so you can return a JPEG or other binary data. Version 1.3.1 will be available in a day or so.
Also, the app is set up to handle sending CGI Requests to an app. Since compiled AppleScripts on 10.6 are always bundled apps Apache doesn't like calling them directly -- they look like a folder.
For security reasons, you may not want apps running just anywhere on your machine (as Apache enables other machines to access your machine), thus limiting CGIs (as Apache does do start) to one folder or folders you explicitly indicate in the Apache config is a good thing. You can override it to use any folder you choose.
There are many ways to connect apps. This is just one. It's fast as it avoids the file system (creating a file) or using pipes, etc. The Mach messages underlying Apple Events seems quite fast. Also, by avoiding interaction with the shell or file system, you avoid some avenues to break ins. Nothing's perfect, of course.
The original need for the app for me was to connect to a custom database (nothing to do with AppleScripts). So you can connect directly to any app, not just compiled scripts. After getting it to work with my database app, I started looking into a more general solution. Some thought went into the limitations and ease of use issues. Some people feel enabling AppleScripts is a security issue. But, you can write shell scripts too (or have someone copy them into your system).
So, I look at the need to have an extra text file as an extra security thing. I could have added code signing with a symmetric key, or having a file that lists scripts permitted to be called, and so on.
Any suggestions are welcome. Software is soft, so any changes are possible

Given that you have a bundled app when you compile a script, you can't trigger it directly via Apache right now without modifying Apache -- and remember, this is a simple addition to Apache -- nothing to recompile, nothing strange to configure, etc.
So, by adding a handler for a file extension (.aaeb) you can have Apache call your code via AAEB. Easy enough for anyone who dabbles in AppleScripts. The goal is to run AppleScript in as natural a form as possible, with elegance.
Here, the URL directly refers to the script by name:
YourServer.com/cgi-bin/AppleScript.app.aaeb?args=test
Another way to go would be to have something like:
YourServer.com/cgi-bin/runScript.aaeb?runScript=AppleScript.app&args=test
This removes the need for the extra Text file, but seems less elegant. I guess you could add a URL rewrite rule to handle this automatically too, even getting rid of the need for the text file. I'll look into that. Still would require a little more complex installation for the update to the Apache config.
Anyone like this? Let me know, I can add it to the 1.3.1 release... like the web site says: Custom Software -- any ideas or feature requests, let me know.
David Dantowitz