80
Intel NetStructure Cache Appliance Administrator’s Guide
3
Select rules, and press Enter.
4
Select add rules, and press Enter.
5
Enter a caching rule, and press Enter.
6
Press CTRL-X to save your rule and return to the previous screen.
Each rule must have the following format:
The following table lists the supported primary destinations and their allowed
values:
The secondary specifiers are optional. The following table lists the possible
tags and their allowed values.
Note
You can use more than one secondary specifier in a rule. However, you
cannot repeat a secondary specifier.
primary
destination
=
value
secondary
specifier
=
value
action
=<
value
Primary Destination
Allowed Value
dest_domain
Requested domain name
dest_host
Requested host name
dest_ip
Requested IP address
url_regex
Regular expression to be found in a URL
Secondary Specifier
Allowed Value
time
A time range, such as 08:00-14:00
src_ip
The IP address of the client
prefix
A prefix in the path part of a URL
suffix
A file suffix in the URL
port
A requested URL port
method
A request URL method; use one of the following:
❚
get
❚
post
❚
put
❚
trace
scheme
A request URL protocol; use one of the following:
❚
HTTP
❚
FTP