
C H A P T E R 2
HP Traffic Director Server Appliances User Guide
26
Each server listed for fulfillment of a RICH_HTTP service can be
configured to serve any number of specific rich expressions.
Applicable expressions are listed below:
•
File type expressions, such as *.gif, or */index.html
•
Path expressions, such as /home/*, or /home/images/*, or /home/
images/a*.
•
Unique file expressions, such as /index.html
•
Wildcard expression, such as *.
•
Negation expressions, such as !*.gif or !*/index.html
RICH expressions are managed with the following commands:
config policygroup <name> service <name> server
<name> port <port> expression create
<expression>, and
config policygroup <name> service <name> server
<name> port <port> expression delete
<expression>
Order of Expressions (not available on the
SA7200)
NOTE: The “*” and “!”
are allowed in
expressions, but they can
only exist at the
beginning or end of the
expression. Also, a
positive expression is
required after a not (!)
expression, otherwise the
(!) expression has no
effect.
When using expressions in Layer 7 (RICH) operations, the order of
expressions is significant only when the "not" (!) operator is used.
Expressions are described below.
Expression
Yields
!*.gif;*
All non-GIF files
*;!*.gif
All files, because after specifying “all” (*), the
!*.gif expression is never reached
!*.html;/home/*
Matches all requests of the form “/home/*”
except HTML files
/home/*;!*.html
Matches all files of the form “/home/*.” The
!*.html has no effect.
!/home/*
No matches
!/home/*;*
All matches except ones starting with "/home"
Summary of Contents for P4522A - Traffic Management Server Sa8220
Page 12: ...C O N T E N T S HP Traffic Director Server Appliances User Guide x Notes ...
Page 52: ...C H A P T E R 2 HP Traffic Director Server Appliances User Guide 40 Notes ...
Page 258: ...C H A P T E R 7 HP Traffic Director Server Appliances User Guide 246 Notes ...
Page 280: ...A P P E N D I X B HP Traffic Director Server Appliances User Guide 268 Notes ...
Page 284: ...A P P E N D I X C HP Traffic Director Server Appliances User Guide 272 Notes ...
Page 310: ...A P P E N D I X D HP Traffic Director Server Appliances User Guide 298 Notes ...
Page 321: ...Regulatory Information Taiwan Class A EMI Statement VCCI Class A Japan ...
Page 332: ...R E G U L A T O R Y HP Traffic Director Server Appliances User Guide 320 Notes ...
Page 336: ...S O F T W A R E HP Traffic Director Server Appliances User Guide 324 Notes ...