httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dean gaudet <dgaudet-list-new-ht...@arctic.org>
Subject Re: cvs commit: apache-2.0/src/modules/mpm/perchild perchild.c
Date Sat, 12 Aug 2000 04:23:43 GMT
on linux you can modify how clone is used so that you can change the
uid/gid of threads.

-dean

On Fri, 4 Aug 2000 rbb@covalent.net wrote:

> 
> For anybody who misses this on the CVS commit list.  The new Perchild MPM,
> that has a user and group ID per child, allowing virtual hosts to have
> their own user and group, is done.  It is buggy, but at least it is
> serving pages, after they have been passed back and forth between child
> processes.  There are most definately better ways to do this, like setting
> up the machine with multiple IP addrs, but this does work.
> 
> Docs are coming later.
> 
> Ryan
> 
> On 4 Aug 2000 rbb@locus.apache.org wrote:
> 
> > rbb         00/08/04 00:07:33
> > 
> >   Modified:    src      CHANGES
> >                src/modules/mpm/perchild perchild.c
> >   Log:
> >   Fix the Perchild MPM.  This does work now.  This change has us using
> >   socketpair instead of sockets created with AF_UNIX.  There is very little
> >   chance this will work anywhere other than Linux, but it is a start.  I
> >   have a machine with two virtual hosts, which are started as two different
> >   users.  When I make requests for each virtual host, they pass the request
> >   to the correct child process.  It is possible for a virtual host to have
> >   multiple child processes all with the same user ID, and they all share
> >   the responsability for answering requests.
> >   
> >   There are a lot of bugs in this code, and it is not for the faint
> >   hearted, but it works, and that's saying quite a bit in my mind.
> >   
> >   Docs coming tomorrow.  Right now, it's time to sleep.
> 
> 
> 


Mime
View raw message