ALIAS Section
The ALIAS section maps a URI to a physical directory path on the server regardless of the document root. Aliasing can map a directory regardless of the Document Root, which is convenient from a management perspective.
Configuration Items
The following is the environment configuration format of the ALIAS section.
#"alias": { #"alias_list": [ { "name": string, "url": string, "real_path": string } ] }
Refer to Types of Setting Values and Configuration Methods for more information on symbols and details of the ALIAS section configuration items. |
alias_list/name (Required)
The name of the ALIAS configuration. This 'name' must be set when using the functionality of the ALIAS section in other sections.
Item | Description |
---|---|
Data Type |
String |
Range |
Up to 31 characters |
alias_list/url (Required)
Sets the URI to be specified as an alias. Matching is checked by comparing the request URL with the configured URI, starting from the first byte, up to the length of the URI.
Item | Description |
---|---|
Data Type |
String |
Range |
Up to 255 characters |
Format |
Must start and end with a slash (/). |