I would like to redirect/rewrite this two kinds of URLs:
- mydomain.com -> newdomain.com
- mydomain.com/specificPage -> newdomain.com/newSpecificPage
- mydomain.com/anyOtherPage -> mydomain.com/anyOtherPage (no redirect here)
So I just want to redirect the root domain to a new domain, and some pages from my domain to some pages on a new domain…
How can I do that on a JBoss server ?