2.2.17.4. Redirection
This option allows you to redirect users from one page to another,
even on anther site. Redirection should be done via your server
software (such as .htaccess files), which is faster and more
efficient. However, if this is not possible, this feature can
do redirections for you. You must have the EWEPRIV_MODSERVER privilege
to access this page. Redirection is used for one of these three
cases:
- File. The root path is redirected to the specified path.
Neither the root nor the path may be null. This is the standard
redirection that can be done with the web server software.
- File system. The root path is the path that is redirected
to the user file system. The file used with the root is the file id
in the user file system. See User File Systems.
- Download. The root path is the path that is redirected to
download files. The file used with the root is the download id
in the download table. See downloads.
Delete: Pressing this button removes the redirection entry.
Add redirection: Pressing this button adds a new redirection entry.
This brings up the following page:
Root: Enter the root path. This is the path, relative to the document
root, specified by the user.
Type: One of the redirection types listed above.
Actual path: The actual path used for the file - only applies to type 1 (File)
redirection. This path can be anywhere on the server - it need not
be within the document folder structure. If you want the files
restricted, they should not be in the document folder structure,
otherwise a browser can directly access the files outside of EWE.