Not sure what is going on … my email to us...@trafficserver.apache.org was 
kicked back.
Any idea?

======================================

Hi. This is the qmail-send program at apache.org.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<us...@trafficserver.apache.org>:
Must be sent from an @apache.org address or a subscriber address or an address 
in LDAP.

--- Below this line is a copy of the message.

Return-Path: <hong...@comcast.com>
Received: (qmail 94368 invoked by uid 99); 13 Dec 2016 15:10:11 -0000
Received: from pnap-us-west-generic-nat.apache.org (HELO 
spamd3-us-west.apache.org) (209.188.14.142)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2016 15:10:11 +0000
Received: from localhost (localhost [127.0.0.1])
        by spamd3-us-west.apache.org (ASF Mail Server at 
spamd3-us-west.apache.org) with ESMTP id 6375F180254;
        Tue, 13 Dec 2016 15:10:10 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org
X-Spam-Flag: NO
X-Spam-Score: -2.999
X-Spam-Level:
X-Spam-Status: No, score=-2.999 tagged_above=-999 required=6.31
        tests=[RP_MATCHES_RCVD=-2.999, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
        autolearn=disabled
Received: from mx1-lw-eu.apache.org ([10.40.0.8])
        by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, 
port 10024)
        with ESMTP id pNgEsotiljYb; Tue, 13 Dec 2016 15:10:06 +0000 (UTC)
Received: from vaadcmhout01.cable.comcast.com (vaadcmhout01.cable.comcast.com 
[96.114.28.75])
        by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with 
ESMTPS id D56FF5F2F1;
        Tue, 13 Dec 2016 15:10:05 +0000 (UTC)
X-AuditID: 60721c4b-1f3ff700000045be-22-58500f098e3b
Received: from VAADCEX44.cable.comcast.com (vaadcmhoutvip.cable.comcast.com 
[96.115.73.56])
        (using TLS with cipher AES256-SHA256 (256/256 bits))
        (Client did not present a certificate)
        by  (SMTP Gateway) with SMTP id 36.8F.17854.90F00585; Tue, 13 Dec 2016 
10:08:59 -0500 (EST)
Received: from VAADCEX48.cable.comcast.com (147.191.103.225) by
VAADCEX44.cable.comcast.com (147.191.103.221) with Microsoft SMTP Server
(TLS) id 15.0.1130.7; Tue, 13 Dec 2016 10:08:56 -0500
Received: from VAADCEX48.cable.comcast.com ([fe80::3aea:a7ff:fe12:5e40]) by
VAADCEX48.cable.comcast.com ([fe80::3aea:a7ff:fe12:5e40%19]) with mapi id
15.00.1130.005; Tue, 13 Dec 2016 10:08:56 -0500

======================================
On 12/13/16, 10:08 AM, "Ye, Hong" <hong...@comcast.com> wrote:

    Hi,
    
    I need some help to figure out the right way to log URL redirect request. I 
am using “redirect” and “regex_remap” rules like below:
    
    redirect http://comcast.net http://www.comcast.net
    map http://mytest.com http://www.comcast.com/m 
@plugin=/usr/lib64/trafficserver/regex_remap.so 
@pparam=/etc/trafficserver/regexmap/mytest.com.reg
    
    Here is my logging configuration. Basically, I want to log the request and 
return target. (The redirect itself had no problem)
    
    <LogFormat>
        <Name = "urlrw"/>
        <Format = "%<cqtd> %<cqtt> %<chi> %<pssc> %<cfsc> 
%<cqus>://%<shn>/%<cqup> %<{Location}psh>"/>
    </LogFormat>
    <LogObject>
        <Format = "urlrw"/>
        <Filename = "urlrw.log"/>
        <Mode = "ascii"/>
        <Protocols = "http"/>
        <RollingEnabled = "1"/>
        <RollingIntervalSec ="43200"/>
    </LogObject>
    
    For the redirect rule, I got what I want:
    
    2016-12-13 15:07:03 10.21.98.110 301 FIN http://comcast.net/- 
http://www.comcast.net/
    
    But for the “map” rule, I got following:
    
    2016-12-13 14:58:08 10.21.98.110 301 FIN http://www.google.com/- 
http://www.google.com/.
    
    I am using ATS6.2.0. Did I miss something or is there a problem with ATS? 
Any idea?
    
    Thanks
    
    Hong
    
    
    
    

Reply via email to