httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Alcacibar <falcaci...@gmail.com>
Subject Re: mod_fcgid: different instances of the same program
Date Mon, 16 Nov 2009 14:48:37 GMT
> On Mon, Nov 9, 2009 at 5:16 PM, Danny Sadinoff
> <danny.sadinoff@gmail.com> wrote:
> 2) Virtual hosts
> The above item holds true even across virtual hosts.   So while
> it's possible to adjust the FcgidInitialEnv items on a per-vhost
> basis, this is a recipe for disaster if two vhosts point at the same
> fcgi executable, because the resulting processes with potentially
> different Environments will be inserted into the same pool.  Once that
> occurs, we may expect that a server spawned with config defined in
> vhost A will be parcelled out to vhost B.


The first time that i use mod_fcgid, i probe SetEnv instead
FcgidInitialEnv because i not readed complete the documentation, but
SetEnv and FcgidInitialEnv causes the same effect, the difference is
where you put the SetEnv. The FastCGI especification only needs the
environment variables that uses (FCGI_SOCKET, FCGI_USER, ALLOWED_ENV,
etc.) you could use SetEnv if need more flexibility than
FcgidInitialEnv.

-- 
Felipe Alcacibar Buccioni

Mime
View raw message