Chapter 5 Using the Command-Line Interface 75
3Select remap, and press Enter.
4Select add rules, and press Enter.
5Enter a remap rule, and press Enter.
6Press CTRL-X to save your changes and return to the previous screen.
Each rule must consist of three fields: type target replacement.
The following table describes the proper format for each field.
For more detailed information about remapping rules, refer to Understanding
server acceleration mapping rules‚ on page 132.
Deleting remap rules
1Select the config menu, and press Enter.
2Select protocols, and press Enter.
3Select remap, and press Enter.
4Select delete, and press Enter. Doing so displays a list of the current remap
rules. If no rules exist, a message appears at the bottom of the screen
indicating such.
5Use the arrow keys and position the cursor over the rule you want to delete,
and press Enter.
6Press CTRL-X to save your changes and return to the previous screen.
Viewing remap rules
1Select the config menu, and press Enter.
2Select protocols, and press Enter.
3Select remap, and press Enter.
4Select view, and press Enter. Doing so displays the file containing the remap
rules.
Field Description
type Enter either one of the following:
map—maps an incoming request URL to the
appropriate origin server URL.
reverse_map—use for location header modifying
rules.
target Enter the from URL. You can enter up to four
components:
<scheme>://<host>:<port>/<path_prefix>
replacement Enter the to URL. You can enter up to four
components:
<scheme>://<host>:<port>/<path_prefix>