Re: Re: Applescript CGIs with Web* V
Re: Re: Applescript CGIs with Web* V
- Subject: Re: Re: Applescript CGIs with Web* V
- From: email@hidden
- Date: Mon, 5 Nov 2001 12:17:46 EST
It was a permissions problem. The OSX machine needed to be logged in as user
"webstar" in order to trigger the applet to run. I have not extensively
tested beyond that.
There is apparently a security feature (bug?) which does not allow apps with
GUIs which belong to one user to be triggered by another user's apps, or some
such nonsense. Even getting into the command line and giving the CGI 555
permissions (for non-Unix folks, this means that everyone can execute the
applet) did not solve the problem.
I can foresee an enormous problem if, for example, I have another piece of
software that wants to be logged in as, say, user "mailserver" in order to
function properly. This would conflict with W*V (aka WebSTAR V) which
apparantly must be logged in as user "webstar". Since server multitasking is
such a huge potential benefit of Unix, this seems like a significant
roadblock to tapping that potential.
On another sour grapes note, there is currently no way to run an Applescript
CGI on OSX without investing in expensive professional server software (eg.
OSX Server, W*V). This effectively kills the hobbyist market for Applescript
CGIs. Please please please Applescript team and Eric Zelenka, add the module
which allows Apache to call Applescript CGIs to OSX, not just OSX Server.
Thanks.
<horn tooting>
I demoed my Applescript shopping cart (cartHandle) and custom pseudodatabase
implementations to a fellow whose company builds half million dollar sites
and bills out programming time at $330/hr. He called what I had done with
AppleScript CGIs "kick-ass" and said he could not duplicate the functionality
I had created without additional programming effort.
</horn tooting>
With command line access, ODBC/SQL hooks, and the upcoming studio,
Applescript on OSX could rule the world. Let's not hamstring it.
Jeff Baumann
email@hidden
www.linkedresources.com
>
email@hidden (that's me) asked, on Fri, 2 Nov 2001 00:34:39 EST,
>
>
> I don't know if this is a W*V problem, a permissions problem, an OSX
problem,
>
> or an Applescript/applet shell problem, but it demands fixing. Is there a
>
> solution? Am I the only one using Applescript CGIs, or just the only one
>
> having trouble?
and on 11/5/01 at10:27:48 AM Scott Norton comiserated:
>
I'm using the same sort of interface to call AppleScripts from ListSTAR, and
so
>
far have been hanging out at AppleScript 1.5.5 and OS 9.1. Because ListSTAR
has
>
some trouble with aliases under OS X, I've not been asked to upgrade the list
>
servers to OS X, but its disappointing to see no progress on this issue. It
>
seems so important, not just to CGIs and to ListSTAR, but to any "script
server"
>
architecture. I mean,
>
>
tell application "My Script" to DoItsThing()
>
>
should work for a script just like it does for an application, running the
>
application if needed and calling the handler.