httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] Cookie tracking question
Date Tue, 17 Mar 2009 13:33:56 GMT
On Tue, Mar 17, 2009 at 1:11 AM, John Armstrong <jarmstrong@bepress.com> wrote:
> I have inherited an old, fragile codebase that uses CookieTracking. Great!
>
> Except that when they implemented it they used
>
> %{Cookie}i which outputs the cookie as 'cookiename=cookievalue' in the
> logfile. It also ignores the first hit since its a header based
> cookie, not a module based cookie, and we lose hits.
>
> So, we decided to change to %{Cookie}n so our first hit logs.
> Unfortunately, this outputs as 'cookievalue' so our
> SuperTerrificTotallyCustomAndFragile log analysis software breaks
> since it can't parse the unique user out of the logfile with the
> cookie name.
>
> Anyone know of a patch or a tweak that will get %{Cookie}n to output
> 'cookiename=cookievalue'?

Have you looked at the docs?
http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats

Krist


-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message