Re: Internal redirecition with dynamic backend (fetch 302 and return content)

2009-04-22 Thread Augustin Amann
Kristian Lyngstol a écrit : > On Wed, Apr 22, 2009 at 08:41:58AM +0200, Augustin Amann wrote: > >> 1) RP do GET to the backend >> 2) backend reply a 302 to another server >> 3) RP do a GET to this new location >> 4) RP return content and store it. >> >> Maybe i can use restart, like [1]. >> I ha

Re: Internal redirecition with dynamic backend (fetch 302 and return content)

2009-04-22 Thread Kristian Lyngstol
On Wed, Apr 22, 2009 at 08:41:58AM +0200, Augustin Amann wrote: > 1) RP do GET to the backend > 2) backend reply a 302 to another server > 3) RP do a GET to this new location > 4) RP return content and store it. > > Maybe i can use restart, like [1]. > I have no idea where the new location (gived

Internal redirecition with dynamic backend (fetch 302 and return content)

2009-04-21 Thread Augustin Amann
Hi, I'm looking for a reverse-proxy system with internal redirection, and I wonder if varnish can do the job. I need the reverse proxy to act as a User-Agent with 302, and fetch content instead of returning 302 to the client, to mimic 303 with 302 I think. 1) RP do GET to the backend 2) backen