mod_usertrack.xml revision d8bce40c41601a29555b84b190abd516a37bc11a
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts<!-- $LastChangedRevision$ -->
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts Copyright 2002-2006 The Apache Software Foundation or its licensors, as
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts Licensed under the Apache License, Version 2.0 (the "License");
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts you may not use this file except in compliance with the License.
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts You may obtain a copy of the License at
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts Unless required by applicable law or agreed to in writing, software
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts distributed under the License is distributed on an "AS IS" BASIS,
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts See the License for the specific language governing permissions and
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts limitations under the License.
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts<modulesynopsis metafile="mod_usertrack.xml.meta">
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington<em>Clickstream</em> logging of user activity on a site
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts</description>
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts <p>Previous releases of Apache have included a module which
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts generates a 'clickstream' log of user activity on a site using
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts cookies. This was called the "cookies" module, mod_cookies. In
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts Apache 1.2 and later this module has been renamed the "user
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts tracking" module, mod_usertrack. This module has been
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts simplified and new directives added.</p>
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington <p>Previously, the cookies module (now the user tracking
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington module) did its own logging, using the <directive>CookieLog</directive>
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington directive. In this release, this module does no logging at all.
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington Instead, a configurable log format file should be used to log
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington user click-streams. This is possible because the logging module
a093731116a8c24d49b903df7602cf586e499b45Phill Cunnington now allows multiple log files. The cookie itself is logged by
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts using the text <code>%{cookie}n</code> in the log file format. For
c0202e5a338212ae386c672821f6dc4931c50f45James PhillpottsCustomLog logs/clickstream "%{cookie}n %r %t"
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts <p>For backward compatibility the configurable log module
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts implements the old <directive
c0202e5a338212ae386c672821f6dc4931c50f45James Phillpotts module="mod_log_config">CookieLog</directive> directive, but this
Subject: Re: Apache Y2K bug in mod_usertrack.c
four digit dates do in fact work... for Netscape 4.x (Communicator), that
is. However, 3.x and below do NOT accept them. It seems that Netscape
Fortunately, 4.x also understands the 2-digit format, and so the best way to
understood as "2037" by both MSIE and Netscape versions 3.x and up (not sure
Summary: Mozilla 3.x and up understands two digit dates up until "37"
(2037). Mozilla 4.x understands up until at least "50" (2050) in 2-digit