this should be a pretty simple rewrite rule, but I can't get it working. I want to rewrite Request as follows:
http://acme.org/FOO/BAR
to
http://FOO.acme.org/BAR
FOO
is some simple string in this case and BAR
should match the rest of the URL. It seems as reqrep
does not allow the rewrite of the host :(
reqirep
seems not to be deprecated in 1.6, but now sure is: cbonte.github.io/haproxy-dconv/2.0/configuration.html#4-reqirep – Burgoo