mc & cgi: externals

andu undo at cloud9.net
Tue Jan 22 14:56:01 EST 2002


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

It's not, I never tried this but so seemed to recall Brian. Maybe Scott
Raney could tell us for sure. But like I said, you can "use" a stack. 

> 
> > 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?
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard

-- 
__________________________
 Regards, Andu



More information about the metacard mailing list