Cookie logging in Apache

Cookie logging in Apache

Post by Michael Fu » Fri, 07 May 1999 04:00:00




> Hello, I see how one can log the usertracking cookie that Apache generates.
> But is there a way to log other cookies in to the access log?

See the "Custom Log Formats" section of the mod_log_config documentation:

    http://www.apache.org/docs/mod/mod_log_config.html

You can use the LogFormat and CustomLog directives to log HTTP headers
(e.g., "Cookie"); recent versions of Apache have examples of doing
this for "Referer" and "User-agent" in the sample configuration files.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

 
 
 

1. Can you log specific cookies with Apache %{cookie}i log format?

Hi

Just wanted to know if it is possible to limit the returned \"%{cookie}i \"
string in our custom logfile to only show the "Apache=" cookie rather than
all the cookies set for the current servers domain. We are comparing the
\"%{set-cookie}o\" server response to the browser set-cookie request to
identify browsers who have turned off cookies. Logging other cookies not set
directly by Apache seems a waste of disk space. Is there an alternative
other than fiddling with the mod_log_config code?

Any clues much appreciated.

Rob.

2. PPP really Deamon

3. Need HELP to Log User Log-ins form the internet

4. NFS - tests + results

5. My linux+Apache+mod_perl cannot recognize"print "Set-Cookie: cookie-name = Unique; "

6. Quota's and Linux 1.2.1 - Has anyone done it?

7. apache,cookie and denying access to those whithout the cookie set

8. SLIP

9. How 2 log apache cookie 4 webtrends?

10. Apache cookie logging

11. apache cookie log tools ?

12. Cookies in Apache Logs

13. apache, cookie-log