trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ming.zym@gmail.com" <ming....@gmail.com>
Subject Re: logs_xml question when pristine_host_hdr disabled
Date Mon, 26 Sep 2011 11:25:12 GMT
you should try 'cquuc'

The client request unmapped URL canonical. This field records a URL
before it is remapped (reverse proxy mode).


hopes that is not too later.

在 2011-09-09五的 18:12 +0800,Conan写道:
> 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
> 
> 
> 
> 
> 

-- 
zym, Zhao Yongming.
aka: yonghao @ taobao.com


Mime
View raw message