On Sun, Oct 20, 2013 at 03:27:45AM -0500, Jordan Arentsen wrote:
> Hi Willy,
> 
> I apologize for my confusing question. The important thing I forgot to
> mention is that I'm trying to redirect from within the backend, using the
> backend's application logic. So in this case, the selected backend performs
> an authentication check, realizes it doesn't have a session, and need to
> redirect to another backend to perform a login. In this case the backend is
> PHP and I was attempting to use a 302 redirect to a URL that would match my
> authentication backend.
> 
> Is  there no way for me to redirect from one backend to another once an ACL
> has been matched?
> 
> Hope that helped.

Unfortunately it does not :-(

I think there is a problem of terminology as you seem to sometimes use
the term "backend" to designate alternatively haproxy's backend sections
and sometimes the application server. But with that word used 7 times in
7 lines, I'm still having difficulties understanding what you're trying
to do. Because if you're only talking about the application server, then
what would prevent the server from returning a 302 that the client will
follow ?

Willy


Reply via email to