Alias
Description
Aliases are a way of mapping an incoming request from one location
to another. An alias can change the document, directory, or even
server of a requested URL. Aliases are also used to indicate which
file system a particular URL should be served out of.
When an alias is found in a URL, the alias's value is substituted in
place of the alias. The alias must match the user's URL from the
beginning. If the alias matches a string in the middle of the URL,
no substitution is performed.
Parameters
Alias
A string that will be replaced in a URL if it matches
the beginning of the URL. Because it must match in the beginning, a leading
slash must be used.
[Actual]
The value that replaces the alias.
*USFOBJ and *SPLF cannot have an [Actual]
value while *WEBULATOR can optionally have a value; all other
types must have an [Actual] value.
[SrcType]
*WEBULATOR
-
All URLs starting with this alias will be treated as
Webulator/400 application URLs.
*ROOT
-
The root file system of the
Integrated File System (IFS). This is everything
in IFS except
*QDLS and *QSYS.
*QDLS
-
File system supported by PC Support/400.
*QSYS
-
The native OS/400 file system containing libraries and objects.
*SPLF
-
An OS/400 spooled file.
*REDIRECT
-
Causes Web Server/400 to redirect the browser to a URL on a different server.
*TREDIRECT
-
Same as
*Redirect except the browser should consider the
redirection temporary.
*USFOBJ
-
Indicates an Ultimedia System Facilities object is being referenced.
The alias is always followed by an USF object ID.
Default If No Entry Found
If an alias is not listed, aliasing does not apply. Also see
Default source type.
Commands to change this value
File Syntax
Alias Alias [Actual] [SrcType]
Multiple entries may exist in the
alias configuration file.
If the same alias is listed in the alias configuration file, it is undefined
which one will be used. It is recommended that the each alias entry appear
only once.
Also See