mc & cgi: externals

David Bovill david.bovill at opn-technologies.com
Tue Jan 22 14:07:01 EST 2002


Andu, is that a confirmation that mc/cgi script can't call externals? How
about if you "use" a stack which calls the externals?

> From: andu <undo at cloud9.net>
> Subject: Re: mc & cgi: externals
> 
> Yennie at aol.com wrote:
>> 
>> While on a CGI thread...
>> 
>> I'm considering trying to move my server app to a script-only implementation.
>> However, I have a couple of crucial externals which need to be a part of it.
>> Porting these to the operating systems on which I need them is not a problem
>> (albeit some work), but I seem to recall that there is no way to use
>> externals with CGI scripts. I can imagine good reasons for this, but is there
>> any work-around? For example, I'd like to run things as script-only on a
>> Darwin system. I can compile mach-o tools, but can I run them from inside a
>> MC script? Has anyone been down this road before who can point me in the
>> right direction? What if my externals need to maintain static/global
>> information? My ultimate goal is an apache/metacard combo with no GUI...
>> anyone that can give me some input?
> 
> Brian, your best bet for something like this is to have cgi scripts
> communicate with a long-running stack which in turn uses the externals,
> I think.
> 

You could call the code with a shell command?




More information about the metacard mailing list