On Sun, Oct 20, 2013 at 07:07:47AM +0000, blissdev wrote:
> I route to various backends by using ACLs. I would like to be able to
> redirect from backend to another, in the case that I need to do
> authentication or some other action on another backend. But I've run into an
> issue where a 302 redirect won't work because it's within a single request
> and tries to make the redirect on the originally matched (via ACL) backend. 
> 
> Any suggestions on how to deal with this? Is there a better way to set
> things up?

I'm not sure what you're trying to do but it sounds a lot like some
recent questions about the condition to perform a redirect after a
rewrite. If that's the case, you shuold simply put the redirect rule
in a backend section with no specific condition.

> Here's my config: https://gist.github.com/blissdev/7065863
> 
> I'd like to be able to redirect a request that goes to the middleman backend
> to the stumptheband backend. Is this possible?

I'm not seeing any redirect there. I think what you describe is that
you'd want to switch to another backend after you chose one, that's it ?
Then I don't understand why you'd go to the wrong backend first instead
of properly selecting the correct one.

I'm sorry but your request is extremely confusing.

Willy


Reply via email to