RE: Rewriting/redirecting part of URL

2017-06-29 Thread Mark Holmes
Perfect, does exactly what I need. Thanks again Philipp. -Original Message- From: Philipp Buehler [mailto:e1c1bac6253dc54a1e89ddc046585...@posteo.net] Sent: 29 June 2017 12:50 To: Mark Holmes Cc: 'haproxy@formilux.org' Subject: RE: Rewriting/redirecting part of URL Am 29.06.2017 13:32

RE: Rewriting/redirecting part of URL

2017-06-29 Thread Philipp Buehler
Am 29.06.2017 13:32 schrieb Mark Holmes: This worked perfectly - thanks again Philipp - but now the goalposts have moved slightly... So what I need to do is If a request comes in for www.old.com/audi/thesite/pages I'd like to redirect to www.new.com/audi/thesite/pages maintaining

RE: Rewriting/redirecting part of URL

2017-06-29 Thread Mark Holmes
suggestions. Thanks! Mark -Original Message- From: Mark Holmes [mailto:mark.hol...@eu.biworldwide.com] Sent: 28 June 2017 19:01 To: 'Philipp Buehler' Cc: 'haproxy@formilux.org' Subject: RE: Rewriting/redirecting part of URL Great, I'll give that a go. Thanks Philipp! PS Don't

RE: Rewriting/redirecting part of URL

2017-06-28 Thread Mark Holmes
: Rewriting/redirecting part of URL 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

Re: Rewriting/redirecting part of URL

2017-06-28 Thread Philipp Buehler
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