On Sat, 28 Feb 2009, Monty Pyth wrote:

Does anybody know what file Apache reads to get the time zone offset for
the httpd-access.log?

Just a shot in the dark, but why would it get this info from a file instead
of date?  (Which in turn depends on the TZ environmenal variable if it is
set and info from the system clock and kernel variables.  Date can set the
kernel values or the system clock, or you can use the Configure>>Time Zone
option in /usr/bin/sysinstall. - - [10/Oct/2000:13:55:36 -0500] "GET /apache_pb.gif
HTTP/1.0" 200 2326 "http://www.example.com/start.html"; "Mozilla/4.08 [en]
(Win98; I ;Nav)"

Where does Apache get the -0500 from?

See what date '+%z' gets you.

Lars Eighner
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to