Hi, On 28/07/2015 08:49, mlist wrote:
I'm confused by what I read at http://cbonte.github.io/haproxy-dconv/configuration-1.6.html#4.2-reqirep:<search> is the regular expression *applied to HTTP headers and to the* * request line*. This is an extended regular expression. Parenthesis grouping is supported and no preliminary backslash is required. Any space or known delimiter must be escaped using a backslash ('\'). The pattern applies to a full line at a time. The "reqrep" keyword strictly matches case while "reqirep" ignores case.
No confusion to have, the documentation is right, but the regex you provided in in previous mail was wrong for what you wanted to do : it couldn't match the Referer value because it didn't expect a value beginning with "https://<hostname>".
-- Cyril Bonté

