Apache - Reverse Proxy and HTTP 302 status messsage

Posted by Rob on Stack Overflow See other posts from Stack Overflow or by Rob
Published on 2008-10-09T22:30:15Z Indexed on 2010/05/09 21:38 UTC
Read the original article Hit count: 342

My team is trying to setup an Apache reverse proxy from a customer's site into one of our web applications.

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

Inside our application we use struts and have redirect = true set on certain actions in order to provide certain functionality. The 302 status messages from these re-directs cause the user to break out of the proxy resulting in an error page for the end user.

HTTP/1.1 302 Found Location: http://internal.example.com/some-path/redirect

Is there any way to setup the reverse proxy in apache so that the redirects work correctly?

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

© Stack Overflow or respective owner

Related posts about apache

Related posts about reverse-proxy