Date: Sat, 28 Feb 2009 20:47:41 -0600 (CST) From: Lars Eighner <luvbeastie@larseighner.com> To: Monty Pyth <freebsdnewb@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Apache Message-ID: <20090228185015.P92507@qroenaqrq.6qbyyneqvnyhc.pbz> In-Reply-To: <329160.57918.qm@web111203.mail.gq1.yahoo.com> References: <329160.57918.qm@web111203.mail.gq1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > 68.10.25.173 - - [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 http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090228185015.P92507>