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

Bryan Call updated TS-2531:
---------------------------

    Description: 
when doing a forward proxy request it won't match the default rule, but will 
match other rules that specify the hostname.

Example request:
GET http://foo.yahoo.com HTTP/1.1
Host: foo.yahoo.com

remap.config:
map / http://www.yahoo.com

Response:
HTTP/1.1 404 Not Found
...

------------

However, this works:

remap.config:
map http://foo.yahoo.com http://www.yahoo.com


  was:
when doing a forward proxy request it won't math the default rule, but will 
match other rules that specify the hostname.

Example request:
GET http://foo.yahoo.com HTTP/1.1
Host: foo.yahoo.com

remap.config:
map / http://www.yahoo.com

Response:
HTTP/1.1 404 Not Found
...

------------

However, this works:

remap.config:
map http://foo.yahoo.com http://www.yahoo.com



> The default remap rule doesn't match a forward proxy request
> ------------------------------------------------------------
>
>                 Key: TS-2531
>                 URL: https://issues.apache.org/jira/browse/TS-2531
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>            Reporter: Bryan Call
>            Assignee: Bryan Call
>             Fix For: 5.0.0
>
>         Attachments: 0001-fix-bug-TS_2531.patch
>
>
> when doing a forward proxy request it won't match the default rule, but will 
> match other rules that specify the hostname.
> Example request:
> GET http://foo.yahoo.com HTTP/1.1
> Host: foo.yahoo.com
> remap.config:
> map / http://www.yahoo.com
> Response:
> HTTP/1.1 404 Not Found
> ...
> ------------
> However, this works:
> remap.config:
> map http://foo.yahoo.com http://www.yahoo.com



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to