redirect - Apache - Reverse Proxy and HTTP 302 status message -


my team trying setup apache reverse proxy customer's site 1 of our web applications.

http://www.example.com/app1/some-path maps http://internal1.example.com/some-path

inside our application use struts , have redirect = true set on actions in order provide functionality. 302 status messages these re-directs cause user break out of proxy resulting in error page end user.

http/1.1 302 found location: http://internal.example.com/some-path/redirect

is there way setup reverse proxy in apache redirects work correctly?

http://www.example.com/app1/some-path/redirect

there article titled running reverse proxy in apache seems address problem. uses same example.com , /app1 have in example. go "configuring proxy" section examples on how use proxypassreverse.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -