Format
Each line in the remap.config file must contain a mapping rule. Content Gateway recognizes three space-delimited fields: type, target, and replacement. The following table describes the format of each field.
Field | Description |
---|---|
type |
Enter one of the following:
Note: reverse_map is not supported.
|
target |
Enter the origin or from URL. You can enter up to four components: scheme://host:port/path_prefix <scheme> can be http, https, or ftp. |
strict URL matching flag |
Enable Match URL Exactly to force matching to be exact against the entire requested URL. Without this option, the URL is compared up to the end of the target (From Path Prefix). If there is a match, the redirect is applied. This can cause unwanted matching, when the redirect URL includes the base URL. See Mapping and Redirection. |
replacement |
Enter the destination or to URL. You can enter up to four components: scheme://host:port/path_prefix <scheme> can be http, https, or ftp. |