file a bug in jira, and I will take care of it if we can do :D
在 2011-09-28三的 11:04 +0800,Conan写道:
> never too late:)
>
>
> sounds 'cquuc' return whole url, but I only need unmapped HOST part of
> the URL.
>
>
> ('cquuc' seem broken, it return '-' )
>
> 2011/9/26 ming.zym@gmail.com <ming.zym@gmail.com>
> 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
>
>
>
--
zym, Zhao Yongming.
aka: yonghao @ taobao.com
|