Re: Use 'http-request replace-header' instead.

2023-11-04 Thread Willy Tarreau
ymore since HAProxy 2.1. Use > 'http-request replace-header' instead. > > > The directive to replace is: > > reqirep ^([^\ :]*)\ /(.*) \1\ /opencms/\2 > > Could someone help me to get the right sytax to achieve this with the new > directive? It's al

Use 'http-request replace-header' instead.

2023-11-01 Thread Christoph Kukulies
During migration from an older site to a newer one with newer haproxy I find that I have syntax errors in haproxy.cfg: The 'reqirep' directive is not supported anymore since HAProxy 2.1. Use 'http-request replace-header' instead. The directive to replace is: reqirep