2.4.3 / cgi scripts

andu undo at cloud9.net
Fri Jun 21 20:25:01 EDT 2002


--On Friday, June 21, 2002 17:02:56 -0400 Yennie at aol.com wrote:

> I can't seem to figure out how to run a cgi script with 2.4.3.
> The following works with MC/Darwin as a cgi script with apache:
>
># !mc
># file: test.mt
> on startup
> ..
> end startup
>
> After installing the MetacardCarbon/Mach-O bundle in the same directory,
> I  can do this from the command line:
>
> ./MetacardCarbon.app/Contents/MacOS/MetacardCarbon test.mt
>
> And the script will run.
> However, I can't seem to configure test.mt to run when called by cgi.
> The following does *not* work as a cgi:
>
># !./MetacardCarbon.app/Contents/MacOS/MetacardCarbon
># file: test.mt
> on startup
> ..
> end startup
>
> I've tried creating a symbolic link named "mc" to
> "./MetacardCarbon.app/Contents/MacOS/MetacardCarbon", but that doesn't
> work  either (again, it works on the command line).
>
> Any ideas?

See what happens if you rename MetacardCarbon to mc and put it in the same 
directory with the script and adjust the script accordingly. Also changing 
.mt to .cgi might be more to the liking of the server.

>
> Brian
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac



More information about the metacard mailing list