[ 
https://issues.apache.org/jira/browse/TS-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221538#comment-13221538
 ] 

Conan Wang commented on TS-1002:
--------------------------------

%<cquuh> works, thanks!

cdn.zymlinux.net - 0 TCP_MISS [03/Mar/2012:15:38:47 +0800] "GET 
/trafficserver/ts75.png HTTP/1.1" 200 9520 "-" "-" "curl/7.21.4 
(universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5"



                
> log unmapped HOST when pristine_host_hdr disabled
> -------------------------------------------------
>
>                 Key: TS-1002
>                 URL: https://issues.apache.org/jira/browse/TS-1002
>             Project: Traffic Server
>          Issue Type: Wish
>          Components: Logging
>            Reporter: Conan Wang
>            Assignee: Zhao Yongming
>            Priority: Minor
>             Fix For: 3.1.3
>
>         Attachments: TS-1002.patch
>
>
> 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.
> logs_xml reference: 
> http://trafficserver.apache.org/docs/v2/admin/logfmts.htm#66912

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to