>> PerlPassEnv HOME >> PerlPassEnv PORT >> <Perl> >> $ServerRoot = $ENV{HOME} . "/web"; >> $DocumentRoot = $ENV{HOME} . "/web/public" ; >> $Listen = $ENV{PORT}; >> </Perl> > > > Thanks for the example, Pratik. Now it's more clear to me. > > I propose the following "simple" solution: > > 1) Keep %ENV intact at the server startup, so anything set in the shell > is seen from perl
which would make the above PerlPassEnv directives unnecessary, right? at least insofar as <Perl> sections are concerned? that sounds fine to me. > 2) PerlPassEnv and PerlSetEnv aren't run yet but postponed to until > after post_config. > 3) just before starting workers, detach %ENV from environ, cleaning it > up completely. now run PerlPassEnv and PerlSetEnv from (2) nice. --Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]