Cookies in Apache Logs

Cookies in Apache Logs

Post by craig.da.. » Tue, 15 Feb 2000 04:00:00



Does anyone know if cookies are included in the default Apache log
files?

I have a page which sets a cookie with a session ID (with "/" as the
path) using javascript.  I can then navagate around the site, and read
the cookie just fine.

When I go to the log file, however, the cookie value is not showing
up.

Two questions:

1) Should it be showing up?
2) Our site is hosted by Verio - is this something I can control if
it's a configuration issue?

Thanks in advance,
Craig

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Cookies in Apache Logs

Post by /dev/nial » Tue, 15 Feb 2000 04:00:00




> Does anyone know if cookies are included in the default Apache log
> files?

Shouldn't be. It's not part of standard or extended logs. You can add it
yourself by adding a \"%{Cookie}i\" to the end of your LogFormat
statement in your configuration file (assuming you have access to it.)

--

News, articles and resources for web professionals and developers:
http://www.kst.com

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Cookies in Apache Logs

Post by Alan J. Flavel » Tue, 15 Feb 2000 04:00:00



Quote:> Does anyone know if cookies are included in the default Apache log
> files?

Does "anyone" know if there is comprehensive documentation included
with Apache and also available online?

Please feel free to use it, or show the bit you didn't understand.

 
 
 

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. Newbie: Info gathering for howto's, faq's,etc

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

4. Help with multiple 'index.html' files

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

6. Problems with ColdFusion on Linux - CFX exceptions

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

8. Formating and Partitioning

9. How 2 log apache cookie 4 webtrends?

10. Apache cookie logging

11. Cookie logging in Apache

12. apache cookie log tools ?

13. apache, cookie-log