Transform URL Pattern Variables - erdomke/Innovator.Client GitHub Wiki
The following variables can be used when describing the URL of a Conversion Server, OAuth server, or Vault. For example:
- Conversion Server:
$[HTTP_PREFIX_SERVER]$[HTTP_HOST_SERVER]$[HTTP_PORT_SERVER]$[HTTP_PATH_SERVER]/ConversionServer/ConversionService.asmx
- OAuth Server:
$[HTTP_PREFIX_SERVER]$[HTTP_HOST_SERVER]$[HTTP_PORT_SERVER]$[HTTP_PATH_SERVER]/OAuthServer/
- Vault:
$[HTTP_PREFIX_SERVER]$[HTTP_HOST_SERVER]$[HTTP_PORT_SERVER]$[HTTP_PATH_SERVER]/vault/vaultserver.aspx
Variable | Description |
---|---|
HTTP_PREFIX_SERVER | http:// or https:// (See SERVER_PORT_SECURE .) |
HTTP_HOST_SERVER | The server's host name, DNS alias, or IP address as it would appear in self-referencing URLs. (See SERVER_NAME .) |
HTTP_PORT_SERVER | The server port number to which the request was sent. If the port is standard (80 for HTTP or 443 for HTTPS), return nothing. Otherwise, return :{SERVER_PORT} . (See SERVER_PORT .) |
HTTP_PATH_SERVER | A virtual path to the script being executed starting with the root '/' and ending just prior to the last '/'. (See SCRIPT_NAME .) |
HTTP_FOLDER_SERVER | A virtual path to the script being executed starting after the last '/'. (See SCRIPT_NAME .) |
HTTP_PREFIX_CLIENT | http:// or https:// (See HTTPS .) |
HTTP_HOST_CLIENT | Returns the name of the Web server. This may or may not be the same as HTTP_HOST_SERVER depending on type of name resolution you are using on your Web server (IP address, host header). (See HTTP_HOST .) |
HTTP_PORT_CLIENT | Returns the port of the Web server. This may or may not be the same as HTTP_PORT_SERVER depending on type of name resolution you are using on your Web server (IP address, host header). (See HTTP_HOST .) |
HTTP_PATH_CLIENT | Gives the base portion of the URL starting with the root '/' and ending just prior to the last '/'. (See URL .) |
HTTP_FOLDER_CLIENT | Gives the base portion of the URL starting after the last '/'. (See URL .) |