Re: Possibility to define internal redirect based on response header from a backend
Hi, This is currently not doable with HAProxy. cheers On Thu, Sep 29, 2011 at 4:33 PM, Galfy Pundee wrote: > Hi all, > I have two back ends - one serving fast python generated content and > one serving fast static content. I would like from the python to send > a response containing a header, for example > X-Location-Intenal: > http:///folder/file.ext > and then Haproxy to make the redirect internally without the client > noticing this. Is this possible with acl rules? Is it possible to > process response header coming from the back end? Any suggestions how > this can be done are welcomed. > > Regards, > Gal > >
Possibility to define internal redirect based on response header from a backend
Hi all, I have two back ends - one serving fast python generated content and one serving fast static content. I would like from the python to send a response containing a header, for example X-Location-Intenal: http:///folder/file.ext and then Haproxy to make the redirect internally without the client noticing this. Is this possible with acl rules? Is it possible to process response header coming from the back end? Any suggestions how this can be done are welcomed. Regards, Gal