OpenWGA 7.7 - TMLScript reference
WGA » WGA.ServerProperty :
baseURL
On object | WGA.Server |
Usage | Returns the base URL to reach this OpenWGA runtime |
Description |
This is the base part of every OpenWGA URL that is necessary to address the OpenWGA server itself, without any extra path information that is used to address resources within OpenWGA. It is an absolute URL which uses an "best effort" approach to serve a matching host name (as an OpenWGA server may listen to many host names). When in a normal WebTML environment running on behalf of a request then this URL uses the base URL information from that request. If not then it uses the configured root URL from WGA configuration. |
Return value | An absolute URL (String) |
Allowed in script types |
|