This window enables you to view and edit the /etc/httpd.translations
file. The filer reads the /etc/httpd.translations file to get URL translations
for incoming HTTP requests. These translations control the filer's response to an HTTP
request depending on the URL. For example, you can configure the filer to redirect a
particular request to a specific directory, or to prevent access to a particular directory
that is specified in the URL.
The following list describes the fields in the /etc/httpd.translations file:
- Command
- The type of URL translation rule, which can be Map, Redirect, Pass, or Fail.
- Template
- The template string, which specifies a component of a URL.
- Result
- The result string, which determines the result of the HTTP request, depending on the
selected translation rule.
- Comment
- The comment associated with the translations.
The following list describes how to use the buttons in this window to add, modify, and
delete URL translations in the /etc/httpd.translations file:
- Reload
- Reloads the existing /etc/httpd.translations file from the filer.
- Save
- Saves the changes to the /etc/httpd.translations file. Changes to the file take
effect immediately.
- Insert
- Click anywhere in the display and click Insert to add a translation to the /etc/httpd.translations
file.
- Modify
- Click the appropriate translation in the display and click Modify to modify the
information for a translation in the /etc/httpd.translations file.
- Delete
- Click the appropriate translation in the display and click Delete to delete a
translation from the /etc/httpd.translations file.
|