Is it possible to make apache (2.2) mod_proxy follow upstream redirects (http 301, 302)?
Usually one would configure a reverse proxy like:
ProxyPass /foo http://upstream.example.com/bar
ProxyPassReverse /foo http://upstream.example.com/bar
However, if upstream.example.com
responds with a redirect, it is passed through for the client to follow.
Is it possible to make apache follow the redirect(s) until it gets a proper response and only then respond to the client?