>Number: 659
>Category: mod_proxy
>Synopsis: mod_proxy hits log %{Content-type}o incorrectly.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache (Apache HTTP Project)
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Jun 2 14:50:01 1997
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.2b11
>Environment:
BSDI 2.1, gcc 2.7.2
>Description:
Using mod_proxy to ProxyPass to a remote server. Also using mod_log_config to
log these hits. I'm capturing %{Content-Type}o, which should be the
value of the "Content-Type" header in the response. It appears as though
instead, it's using the content-type from some sort of internal mapping - for
example,
http://hyperreal.com:8001/organic/index.html
is text/html, however "text/x-server-parsed-html" is logged. Where the
content-type is ambiguous, i.e.
http://hyperreal.com:8001/organic/index
a "-" is logged. Shouldn't it be "text/html" in both cases?
>How-To-Repeat:
see above
>Fix:
>Audit-Trail:
>Unformatted: