HP Cache Server Appliance Administrator Guide
180
Appendix D Configuration Files
For the parent.config file to take effect, HTTP parent caching option must be enabled in Traffic Manager.
Refer to Enabling the HTTP parent caching option‚ on page 52.
Format
Each line in the parent.config file must contain a parent caching rule. Traffic Server recognizes three
space-delimited tags:
primary destination=value secondary specifier=value action=value
The following table lists the possible primary destinations and their allowed values:
The secondary specifiers are optional in the
parent.config file. The following table lists the possible
secondary specifiers and their allowed values:
IMPORTANT After you modify the
parent.config file, Traffic Manager has to reread the
configuration files. Run the
traffic_line -x command. If you are running a cluster,
you need only run the command for one node; the changes will propagate.
Primary Destination Allowed Value
dest_domain
Requested domain name
dest_host
Requested hostname
dest_ip
Requested IP address
url_regex
Regular expression to be found in a URL
Secondary Specifiers Allowed Value
time
A time range, such as 08:00-14:00 during which the parent cache is used
to serve requests.
src_ip
The IP address of the client
prefix
A prefix in the path part of a URL
suffix
AfilesuffixintheURL
port
A requested URL port
method
A request URL method; one of the following:
• get
• post
• put
trace
scheme
A request URL protocol; one of the following:
• HTTP
• FTP