[
https://issues.apache.org/jira/browse/TS-3897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737075#comment-14737075
]
Leif Hedstrom commented on TS-3897:
-----------------------------------
Hmmm, I tried this on my Fedora 22 box, and it works fine. Can you fudge your
build, such that it disabled the PCRE JIT, and see if that helps? Maybe
something in the PCRE library on this distort is busted?
> Getting 404s with regex_map
> ---------------------------
>
> Key: TS-3897
> URL: https://issues.apache.org/jira/browse/TS-3897
> Project: Traffic Server
> Issue Type: Bug
> Components: HTTP
> Affects Versions: 6.0.0
> Reporter: Bryan Call
> Priority: Blocker
> Fix For: 6.0.0
>
>
> build pass on Debian 7 64bit,
> but ts behaved strangely with old config that previous work for v5.3.1
> (reverse proxy):
> ats return HTTP/1.1 404 Not Found on Accelerator for all request ~
> remap.config:
> regex_map http://(.*).aa.com/
> http://$1.aa.com/
> diag.log:
> [Sep 9 11:49:16.506] Server {0x2b6567a0e700} NOTE: cache enabled
> [Sep 9 11:49:17.890] Server {0x2b6568014700} WARNING: pcre_exec() failed
> with error code 0
> [Sep 9 11:49:17.892] Server {0x2b6566687e00} NOTE: traffic server running
> [Sep 9 11:53:32.954] Server {0x2b6568115700} WARNING: pcre_exec() failed
> with error code 0
> [Sep 9 11:53:38.587] Server {0x2b6566687e00} WARNING: pcre_exec() failed
> with error code 0
> [Sep 9 11:59:57.908] Server {0x2b6567c10700} WARNING: pcre_exec() failed
> with error code 0
> [Sep 9 12:04:42.012] Server {0x2b656770b700} WARNING: pcre_exec() failed
> with error code 0
> [Sep 9 12:05:30.299] Server {0x2b6567e12700} WARNING: pcre_exec() failed
> with error code 0
> traffic.out(debug)
> [Sep 9 12:23:43.091] Server {0x2b6567d11700} DEBUG: (dns)
> [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's
> loopback
> [Sep 9 12:23:53.094] Server {0x2b6567e12700} DEBUG: (dns)
> [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's
> loopback
> [Sep 9 12:24:03.098] Server {0x2b6567f13700} DEBUG: (dns)
> [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's
> loopback
> [Sep 9 12:24:13.102] Server {0x2b6568014700} DEBUG: (dns)
> [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's
> loopback
> [Sep 9 12:24:23.105] Server {0x2b6568115700} DEBUG: (dns)
> [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's
> loopback
> [Sep 9 12:24:33.109] Server {0x2b6566687e00} DEBUG: (dns)
> [HttpTransact::HandleRequest] Skipping DNS lookup for 127.0.0.1 because it's
> loopback
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)