You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Per Jessen <pe...@computer.org> on 2004/08/05 16:33:31 UTC

[users@httpd] Re: logging and content negotiation?

Joshua Slive wrote:

> On Thu, 05 Aug 2004 12:32:01 +0200, Per Jessen <pe...@computer.org> wrote:
>> Hi,
>> 
>> we're using type-map style content negotiation, and have noticed that the
>> logs don't seem to indicate which particular version of a page/document was
>> actually served, but only the URI.
>> Is there a way of amending the log format to indicate the exact document that
>> was served instead of just the URI?  Or something else we can do?
> 
> You could try %f in your LogFormat or you could log the
> %{Accept-Language}i and use that to determine what document was
> served.

Yeah, I see what you mean - %f actually does it. A bit kludgy, but it'll do.
Thanks.


/Per Jessen, Zurich


---------------------------------------------------------------------
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