Transparent redirects

2012-12-27 Thread Alexandru Florescu
Hi, I have an old style URL that looks like this: http://api.domain.com/some_path and a new style URL that looks like this http://api.domain.com/v2/some_path While I can put a 302 redirect in the old style URL that will point to the new one this introduces a 100-200ms latency and I was

Re: Transparent redirects

2012-12-27 Thread Bryan Talbot
See the docs for reqrep: http://code.google.com/p/haproxy-docs/wiki/reqrep -Bryan On Thu, Dec 27, 2012 at 8:44 AM, Alexandru Florescu a...@pagepeeker.comwrote: Hi, I have an old style URL that looks like this: http://api.domain.com/some_path and a new style URL that looks like this