Chapter 5 Using the Command-Line Interface 75
3
Select remap, and press Enter.
4 Select add rules, and press Enter.
5 Enter a remap rule, and press Enter.
6 Press 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
1 Select the config menu, and press Enter.
2 Select protocols, and press Enter.
3 Select remap, and press Enter.
4 Select 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.
5 Use the arrow keys and position the cursor over the rule you want to delete,
and press Enter.
6 Press CTRL-X to save your changes and return to the previous screen.
▼ Viewing remap rules
1 Select the config menu, and press Enter.
2 Select protocols, and press Enter.
3 Select remap, and press Enter.
4 Select 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>