httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <>
Subject Re: setting TZ env var
Date Tue, 15 Nov 2011 23:06:05 GMT
On 11/15/2011 4:28 PM, Issac Goldstand wrote:
> I'd likely -1 anything that assumed without allowing the user to specify
> an override.

what on earth is wrong with

--- ../httpd-2.x/support/   (revision 1198625)
+++ ../httpd-2.x/support/   (working copy)
@@ -44,6 +44,9 @@
  # the path to your httpd binary, including options if necessary
+# desired local timezone representation for logs
  # pick up any necessary environment variables
  if test -f @exp_sbindir@/envvars; then
    . @exp_sbindir@/envvars


SetEnv TZ GMT+0000

There you go, two mechanisms "allowing the user to specify
an override"

Can we quit inventing redundant directives?

I'm certainly -1 on such a directive.  I'm totally +1 if someone
wants to document the appropriate use of the TZ variable.

And I'd be very cool with ensuring that we tzset() after allowing
conf parsing/SetEnv processing and before forking.

View raw message