Powered by Zoomin Software. For more details please contactZoomin

Develop with XCC

XCC Reverse Proxy Support

  • Last Updated: January 16, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 11.0
    • Documentation

Note: This feature took effect in MarkLogic Server 11.1.0.

XCC supports connecting to MarkLogic Server through a reverse proxy using path-based routing.

Note: Digest and certificate authentication are not currently supported when running behind a reverse proxy or a load balancer configured with path-based routing. Configure the MarkLogic app servers to use either basic auth over HTTPS or one of the other supported authentication mechanisms.

For path-based routing, when constructing ContentSource objects, you must pass these parameters:

  • basePath: URL that maps to a port on the destination MarkLogic application server.

    Note:

    When basePath is specified, xcc.httpcompliant is automatically set to true, and you must configure your reverse proxy to use session affinity.

  • host: URL of the reverse proxy.

  • port: URL of port that the reverse proxy listens to.

For more details, see the ContentSourceFactory methods.

TitleResults for “How to create a CRG?”Also Available inAlert