[
https://issues.apache.org/jira/browse/TS-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom updated TS-1309:
------------------------------
Fix Version/s: (was: 3.2.0)
> reverse_map does't work
> -----------------------
>
> Key: TS-1309
> URL: https://issues.apache.org/jira/browse/TS-1309
> Project: Traffic Server
> Issue Type: Bug
> Components: HTTP
> Affects Versions: 3.2.0
> Environment: centos 6.0 x86_64
> Reporter: bettydramit
>
> reverse_map http://192.168.1.1:8088/ http://cdn.a.com/
> restart the ats
> when wget for test
> wget -S -O /dev/null -e http_proxy=127.0.0.1
> http://cdn.millionhero.com/res/b2/b2b30da1310a0f72256e6f812b11b881
> --2012-06-20 13:29:32--
> http://cdn.a.com/res/b2/b2b30da1310a0f72256e6f812b11b881
> HTTP/1.0 404 Not Found
> Date: Wed, 20 Jun 2012 05:29:32 GMT
> Connection: close
> Server: ATS/3.2.0
> Cache-Control: no-store
> Content-Type: text/html
> Content-Language: en
> Content-Length: 210
> 2012-06-20 13:29:32 error 404:Not Found。
> if i set
> map http://cdn.a.com http://192.168.1.1:8088/
> It works!
> follow is ngrep for http
> T 192.168.1.3:51042 -> 192.168.1.1:8088 [AP]
> GET /res/b2/b2b30da1310a0f72256e6f812b11b881 HTTP/1.1.
> User-Agent: Wget/1.12 (linux-gnu).
> Accept: */*.
> Host: cdn.millionhero.com.
> Client-ip: 127.0.0.1.
> X-Forwarded-For: 127.0.0.1.
> Via: http/1.0 localhost.localdomain[3AD78565] (ApacheTrafficServer/3.2.0).
> If-Modified-Since: Fri, 15 Jun 2012 07:19:26 GMT.
> .
> T 192.168.1.1:8088 -> 192.168.1.3:51042 [AP]
> HTTP/1.1 304 Not Modified.
> Server: nginx/1.1.12.
> Date: Wed, 20 Jun 2012 05:32:55 GMT.
> Last-Modified: Fri, 15 Jun 2012 07:19:26 GMT.
> Connection: keep-alive.
--
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