luvbeastie at larseighner.com
Sat Feb 28 18:49:11 PST 2009
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.
> 126.96.36.199 - - [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.
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
More information about the freebsd-questions