You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Behlendorf <br...@organic.com> on 1995/11/19 18:29:11 UTC

bug in config-logging module?

I'm trying to use the LogFormat directive, and for some reason can't get 
it to log the outgoing content-type, which is the only to tell if your 
content-negotiated image was delivered as a jpg or a gif.  Shouldn't
the construct "%{Content-type}o" get that?  I've got the rest of a rather 
complex log format working without problem, including "%{Set-Cookie}o" 
and "%{Referrer}i", so i know i and o headers are being captured fine.  I 
tried turning content negotiation on and off, and it still didn't return 
the content-type.  Has this worked for anyone else?

Also, I noticed the cookie module only delivers cookies to browsers 
claiming to be Mozilla - there are now three other browsers which 
implement cookies so those two lines should be removed.

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  brian@hyperreal.com  http://www.[hyperreal,organic].com/