Appendix D
Secondary Specifiers
time
src_ip
prefix
suffix
port
method
scheme
The following table lists the possible actions and their allowed values.:
Action
action
keep_hdr
strip_hdr
Example
The following rule configures Traffic Server to deny FTP document requests to the IP address 112.12.12.12.
dest_ip=112.12.12.12 scheme=ftp action=deny
The following rule configures Traffic Server to keep the client IP address header for URLs that contain the
regular expression
url_regex=politics prefix=/viewpoint keep_hdr=client_ip
The following rule configures Traffic Server to strip all cookies to the requested host
dest_host=www.hp.com strip_hdr=cookie
The following rule configures Traffic Server not to allow
dest_host=www.hp.com method=put action=deny
Allowed Value
A time range, such as 08:00-14:00
The IP address of the client
A prefix in the path part of a URL
A file suffix in the URL
A requested URL port
A request URL method; one of the following:
get
post
put
trace
A request URL protocol; one of the following:
HTTP
FTP
Value
allow
deny
PUSH - If the PUSH option is enabled (the PUSH option lets you deliver
content directly to the cache without user request), you must add a filtering
rule with the PUSH action to ensure that only known source IP addresses
implement PUSH requests to the cache. See the example below.
You enable the PUSH option by setting the configuration variable
proxy.config.http.push_method_enabled
records.config
Enter the client request header information that you want to keep:
date
host
cookie
client_ip
Enter the client request header information that you want to strip. You have
the same options as
and whose path prefix is
politics
file.
.
keep_hdr
/viewpoint.
to the requested host
puts
Configuration Files
to 1 in the
.
www.hp.com
.
www.hp.com
165
Need help?
Do you have a question about the P4535A - Web Cache Server Appliance and is the answer not in the manual?
Questions and answers