httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@ai.mit.edu (Robert S. Thau)
Subject Re: Log files and TZ
Date Mon, 01 Apr 1996 19:35:28 GMT
  Setting TZ with a SetEnv in httpd.conf has no effect on the TZ used in
  the log files.  Setting TZ before running apache, OTOH, does.

This is because TZ is special-cased in the environment-setup code,
which overwrites whatever value you specify with SetEnv (because it
runs later).

(See the create_environment routine in util_script.c --- IMHO, the TZ
code might best be replaced with an "ImportEnv TZ" suggested in the sample
config files...).

rst

Mime
View raw message