You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Eric Cholet <ch...@logilune.com> on 2000/07/11 11:34:51 UTC

Re: How to get User abc

> I have a PerlTransHandler and I have a bunch of virtual hosts. Each virtual
> host looks like this
> 
> <VirtualHost abc.com>
> User abc
> Group abcs
> </VirtualHost>
> 
> (How) can I access the User and Group definitions in the VirtualHost (which
> are intended for suexec)? Is this feature missing in mod_perl 1.24? The
> eagle book only knows on mod_perl 1.19.


You can use $r->server->uid and $r->server->gid, these were added in 1.21_01.

--
Eric