小编Rob*_*Rob的帖子

Apache - 反向代理和HTTP 302状态消息

我的团队正在尝试从客户的站点将Apache反向代理设置到我们的一个Web应用程序中.

http://www.example.com/app1/some-path映射到http://internal1.example.com/some-path

在我们的应用程序中,我们使用struts并在某些操作上设置redirect = true以提供某些功能.来自这些重定向的302状态消息导致用户突破代理,从而导致最终用户的错误页面.

HTTP/1.1 302找到位置:http://internal.example.com/some-path/redirect

有没有办法在apache中设置反向代理,以便重定向正常工作?

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

apache redirect reverse-proxy http-status-code-302

11
推荐指数
2
解决办法
4万
查看次数