Am 28.06.2017 19:20 schrieb Mark Holmes:
Note that /audi/page/whatever will change all the time - essentially,
I want to preserve whatever comes after the first /, just rewriting
the domain part

I feel bad for "Audi" (shouts from an ex-Daimler one.. :D ) now.

With 1.6 you can just do that with 'http-request' and 'prefix':
acl oldthings hdr(host) -i old.com
http-request redirect prefix https://new.com if oldthings

HTH,
--
pb

Reply via email to