0

I´m trying to do the following scenarios:

In my app I have an entity like "CustomerPortal". A user from my app can have a customer portal which has an ID. myapp.com/portal/customerportal?id=123456 -> This is than the customer portal from User1.

My user has also customers. For those customers my user don´t like to share the url like: myapp.com/portal/customerportal?id=123456 So he would like to have some URL like: portal.mycustomerdomain.com

The customer portal has also subpages, like: myapp.com/portal/customerportal/page1.jsf myapp.com/portal/customerportal/page2.jsf etc. All subpages should redirect than also to: portal.mycustomerdomain.com/page1 portal.mycustomerdomain.com/page2

Is there a config needed with Opcsoft Rewrite? How should this look like?

Is there also some settings needed from my users his customer on his webpage? Like some redirects (A records etc.)? I found a website which are doing something like I would like to do: https://scrappbook.zendesk.com/hc/de/articles/4403073986961-Starte-hier-Domain-anbinden (Sorry it´s in German)

I checked also the documentation, but seems like also the forum and links a broken. Therefore in general some question:

  1. Direction.isOutbound() vs Direction.isInbound() -> What´s the different? When do I use which one?

  2. Domain.matches("username") -> What does this mean? "matches" ?

  3. SendError.code from which package does SendError comes from?

Many thanks for help

vished2000
  • 164
  • 1
  • 11

0 Answers0