On 6/22/06, Florian Lindner <[EMAIL PROTECTED]> wrote:

That is not an explanation. Since the apache process is lunched as root (so it
can bind port 80 e.g.) it can fork different processes and change the uid/gid
of these processes.

Although it is theoretically possible to keep a pool of processes
under multiple userids, it is not at all simple.  Complications
include managing multiple pools of processes, and efficiently passing
requests between processes (since with name-based vhosts there is no
way to make sure that a process with the right uid will answer
requests for a particular host).  Attempts at solving this problem
have included the perchild and metux mpms.  Both projects are dead at
the moment, as far as I know.

As has been mentioned, you can certainly do this with apache just by
having multiple apache daemons listening on high-numbered ports and
using one daemon with proxypass to forward requests to the appropriate
port.  But the configuration can get a little complicated.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to