httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Harrison <a...@harrisonfamily.com>
Subject Re: [users@httpd] Environment Variables surviving log rotation HUP signal
Date Fri, 30 Apr 2004 18:08:14 GMT

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Fri, 30 Apr 2004 13:39:06 -0400, Aaron W Morris wrote
Subject: "Re: [users@httpd] Environment Variables surviving log rotation HUP signal"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>  You would have to restart (kill and start) the httpd process in order 
>  for it to inherit new environment variables from the apachectl script.
> 
>  If you want a HUP to set new variables, use the SetEnv directive.
> 
>  ie
>  SetEnv PERL5LIB "/usr/local/rt3/perl/lib/site_perl/5.8.2/i386-freebsd"



Ok, great.  Thanx!

I saw that in the apache docs, but I wasn't sure.  Would PassEnv also
work?  Only so that I don't have to hard code it in yet another place.

-- 
Andy Harrison
(full headers for details)

---------------------------------------------------------------------
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