trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conan <conanm...@gmail.com>
Subject logs_xml question when pristine_host_hdr disabled
Date Fri, 09 Sep 2011 10:12:33 GMT
hi,

I want to log user request's "Host" in http header before remap. I write
logs_xml.config, like:  %<{Host}cqh>

When *proxy.config.url_remap.pristine_host_hdr *is enabled, I will get the
right "Host" which is not rewritten.

When disable the config, I always get the rewritten/mapped "Host" which is
not what I need.

In my case, I must disable the pristine_host_hdr config. Any solution to get
the "right" log?


logs_xml reference:
http://trafficserver.apache.org/docs/v2/admin/logfmts.htm#66912

Mime
View raw message