Rewrite to different context using tuckey urlRewrite

118 views Asked by At

We have a web application which runs on root(/) context and we have the content provider which runs on different context (/BK/). We need to map the request from the content provide https://provider.com/BK/ to https://myapp.com/

We don't want the client URL to be updated with this. It's basically a rewrite rather than redirect.

How can I achieve this using tuckey urlrewrite rule? If it can't be done with urlrewrite than can you suggest any other way?

1

There are 1 answers

2
Paul On

This can not be done using UrlRewriteFilter. You would need to use a reverse proxy of some sort.