Re: [users@httpd] Different users for different vhosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/22/06, Florian Lindner <mailinglists@xxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux