> > This is not the best solution though. Could probably make it more efficient by
>ditching
> > the APR calls and doing something like this...
> >
> > cgid_process
> > while(1)
> > sd2 = accept()
> > apr_create_pool()
> > read(sd2,*) to setup env, blah, blah, blah from main server
> > pid = fork()
> > if (pid == 0) {
> > /* in the child */
> > dup2(sd2, STDIN);
> > dup2(sd2, STDOUT)
> > dup2(sd2, STDERR);
> > close(sd2);
> > exec()
> > exit -1
> > } else {
> > /* parent */
> > close(sd2);
> > }
>
> dunno... Ryan's comment when he committed the changes was that it
> helped fit in suexec support... (it is my understanding that suexec
> still doesn't work with mod_cgid)
The last time I looked at cgid and suexec, it did work. I have served
bugs.apache.org on a threaded MPM in the past, so I am 99.9% sure that
suexec at least used to work.
Ryan
_______________________________________________________________________________
Ryan Bloom [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------