Forwarding requests between contexts in Tomcat

后端 未结 2 637
臣服心动
臣服心动 2021-02-10 05:23

I\'d like to be able to do cross-context request forwarding in Tomcat with the Tuckey URLRewrite filter. For example, I\'d like to be able to route an incoming request with an

2条回答
  •  萌比男神i
    2021-02-10 05:42

    After the comments I come do this possible conclusion:

    I think you are mixing the concepts of a reverse proxy with cross-context. Cross-context is method to share data between two web-applications within the same application server. A reverse-proxy like 'Apache http' can rewrite a url to pass it to a certain server behind it, effectively hiding any unwanted parts or performing other operations like load-balancing.

    The infrastructure would be: client --> reverse proxy --> application server

提交回复
热议问题