httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Apache's suexec?
Date Thu, 27 Apr 2006 16:12:19 GMT
On 4/27/06, Georgy Goshin <gosha@inbox.ee> wrote:
> Hello!
>
> I have a many name based virtual hosts, is it possible to make that all php
> and cgi's script and apache process itself was under specific (virtual site
> owners's) user ID and group ID - apache?

No.  At least not without a config that involves a front-end apache
dispatching requests (via ProxyPass) to a separate back-end server for
each vhost.

You can easily have cgi scripts (and php if it is running as a cgi)
running under different ids using suexec.  But php as a module and
other request processing will run under the User/Group specified in
httpd.conf.

(Some new mpms like perchild and metux have been proposed to solve
this problem.  But I don't think they ever got to a really usable
state.)

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message