You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Werner Schalk <we...@gmx.de> on 2002/07/08 21:59:26 UTC

User directive in general and in virtual host

Hi all,

the docs say on the website
http://httpd.apache.org/docs-2.0/mod/mpm_common.html#user
the user directive is only
allowed when using worker, perchild
and prefork mpm. I compiled apache
with leader mpm and it's there
and of course working, too! So are
the docs wrong again? Do any mpm's
exist where the user directive does
not work at all? I mean how can I
take part in the documentation of
the apache to avoid these errors?

second question: the user directive was
allowed in the virtual host context
some versions ago, afaik. why isn't it
allowed anymore and only valid in the
server's context?

thanks and bye,
werner.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: User directive in general and in virtual host

Posted by Ryan Bloom <rb...@covalent.net>.
> From: Werner Schalk [mailto:werner_schalk@gmx.de]
> 
> Hi all,
> 
> the docs say on the website
> http://httpd.apache.org/docs-2.0/mod/mpm_common.html#user
> the user directive is only
> allowed when using worker, perchild
> and prefork mpm. I compiled apache
> with leader mpm and it's there
> and of course working, too! So are
> the docs wrong again? Do any mpm's
> exist where the user directive does
> not work at all? I mean how can I
> take part in the documentation of
> the apache to avoid these errors?

The User directive generally works everywhere except for Windows.  The
docs are wrong.  If you want to help with the docs, please subscribe to
docs@httpd.apache.org, and submit patches, they will be welcome!

> second question: the user directive was
> allowed in the virtual host context
> some versions ago, afaik. why isn't it
> allowed anymore and only valid in the
> server's context?

The User directive was allowed in VirtualHosts to allow SuExec to work.
In Apache 2.0, SuExec is it's own module, so we couldn't use the same
directive as the core server.  Now, SuExec uses SuExecUserandGroup.

Ryan



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org