You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/12/31 21:37:50 UTC

[jira] [Updated] (TS-2461) ATS report 404 error and 301 at the same time for URL redirect

     [ https://issues.apache.org/jira/browse/TS-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-2461:
------------------------------

    Fix Version/s: 4.2.0

> ATS report 404 error and 301 at the same time for URL redirect
> --------------------------------------------------------------
>
>                 Key: TS-2461
>                 URL: https://issues.apache.org/jira/browse/TS-2461
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Hong Ye
>             Fix For: 4.2.0
>
>
> While trying out ATS4.0.1, I noticed ATS logs 3 messages in transaction log for each url redirect request. The request was processed correctly though.
> Also ATS logs two messages in error.log (same as https://issues.apache.org/jira/browse/TS-2344).
> Here is how to repeat:
> remap.config rule:
> redirect http://yahoo.com http://www.yahoo.com/
> Output:
> curl -sIH "HOST: yahoo.com" http://68.87.98.100
> HTTP/1.1 301 Redirect
> Date: Mon, 30 Dec 2013 20:07:45 GMT
> Server: ATS/4.0.1
> Cache-Control: no-store
> Content-Type: text/html; charset=utf-8
> Content-Language: en
> Connection: close
> Location: http://www.yahoo.com/
> Content-Length: 214
> Transaction log:
> tail -f cclog.log | grep 68.87.98.108
> 2013-12-30 20:07:45 68.87.98.108 404 FIN http://yahoo.com -
> 2013-12-30 20:07:45 68.87.98.108 301 FIN http://yahoo.com -
> 2013-12-30 20:07:45 68.87.98.108 301 FIN http://yahoo.com http://www.yahoo.com/
> Error log:
>  tail -f /var/log/trafficserver/error.log | grep 68.87.98.108
> 20131230.20h07m45s RESPONSE: sent 68.87.98.108 status 404 (Not Found on Accelerator) for 'http:///'
> 20131230.20h07m45s RESPONSE: sent 68.87.98.108 status 301 (Redirect) for 'http:///'



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)