Apache reverse proxy with mod_proxy and 302 redirection
I'm setting up a reverse proxy using apache and mod_proxy to redirect from one server to another (from A to B for example)
But in server B it has a redirect method that redirect with 302 code to another server (C)
The result is when I go to site A, the reverse proxy give me to access B, but the 302 redirection lead me to C, and showing C on the address bar
Do you have an idea to make reverse proxy work with this kind of redirection?
I tried with mod_rewrite to change my URL, but it seems to not working
Any idea/suggest would be really appreciated