after some attempts with the above suggestions I got it done with the following way:
IIS doesn't know which server you want to use - this is handled by the CSP Gateway module.
To get this done you need individual application url paths for each server. In the CSP Web Gateway Management you can define a cache server for each application path:
Select Add Server and create a new server configuration for cache server (Y)
Option 1:http(s)://<host>/csp/... --> server X (all url paths except /csp/api)http(s)://<host>/csp/api --> server Y
Option 2:http(s)://<host>/csp/... --> server Xhttp(s)://<host>/api /... --> server Y
In IIS add a new application (e.g api) and add the same handler mappings like for csp.
In the CSP Webgateway management you do nearly the same like in option 1, except that you create the new application for /api and map it to the server (Y)
See also: https://docs.intersystems.com/latest/csp/docbook/Doc.View.cls?KEY=GCGI_r...
Log in or create a new account to continue