The ROOT_URL_PREFIX element specifies the URL to access the Web server
when a reverse proxy server is used between the client and the GAS.
The ROOT_URL_PREFIX will override the URLs generated by the Web server and
will construct them using this prefix value instead.
Note: The reverse proxy server works on behalf of the Application server. The Web client is not
aware of the proxy and does not know or see what server it is being forwarded to behind the
proxy. In this case, the Web server uses the ROOT_URL_PREFIX, which provides
the correct interface to the client.
Syntax
[<ROOT_URL_PREFIX>URL_Web_Server_behind_proxy</ROOT_URL_PREFIX>] [...]
Usage example
<ROOT_URL_PREFIX>http://serverA:8080/java-j2eedispatch</ROOT_URL_PREFIX>
- Where a reverse proxy server (e.g. server A) is forwarding requests to the GAS on
serverB.
- Where "java-j2eedispatch" specifies the connector.uri part of the URI;
typically this is the same as connector.uri acknowledged by the GAS for the
dispatcher specific to that Web
server.
Note: If ROOT_URL_PREFIX is defined and is empty, it behaves as if not
defined.
Parent elements
This element is a child of the following element: