From: Rob Hartill <hartill@hyperreal.com>
Date: Thu, 20 Jul 1995 12:15:46 -0700 (PDT)
Precedence: bulk
Reply-To: new-httpd@hyperreal.com
Forwarded message:
> From tigo@publicis.fr Wed Jul 19 05:46:25 1995
> Message-Id: <199507191248.OAA09023@sphinx.publicis.fr>
>
> Hi,
> We're using Apache as our Web server and we plan to use the VirtualHost
> feature.
> But we'd like differents pseudo-server to run under different users/groups.
> Unfortunately 'User' and 'Group' are not part of the options that can be
> set in the VirtualHost section.
> I think it'd be worth adding this to the configuration. What do you think?
> Regards.
>
That can be done by running multiple servers using BindAddress, with a
different uid for each server. (In fact, it's the only reason left
that I'm aware of for using BindAddress with 0.8.x). It *may* be
possible to implement in a single server pool by having the pool
members carefully juggle their real and effective uids, but that would
involve giving root privilege to the processes which actually do I/O,
which is something we presently avoid; also, the details may turn out
to be somewhat less than fully portable (I honestly don't know, but
this is the sort of thing that tends to give me the heebie-jeebies).
rst