HP Traffic Director sa7220 User Manual
Page 182

C H A P T E R 5
HP Traffic Director Server Appliances User Guide
170
config policygroup
service server port
expression create
(not available on the
SA7200)
NOTE: Expressions can
include the negation
operator (!), such as
!*.gif
, or
!*/
index.html
. There can
be only one asterisk in any
single expression. An
asterisk must be either the
entire expression itself, or
occur at the beginning or
the end of the expression.
Expressions allow the SA8220 to parse requests at the levels of
path name, file type, and filename and direct them to the
appropriate server. Expressions can include wildcards. This
command creates an expression in the specified Policy Group/
service/server.
config policygroup
expression create
where:
•
policy-name
is the name of an existing policy group
•
service-name
is the name of the service
•
server-name
is the name of the server
•
port
is the server port
•
expression
is any valid expression
Valid expressions include:
•
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 expressions, such as
*.
Invalid expressions include:
•
Text on either side of the asterisk, such as
/index*.gif
•
Asterisk on either side of text, such as
*/images/*
•
Expressions containing more than one asterisk, such as
/index*.*
•
Expressions containing one or more spaces or the dollar sign
($) character
Command
Description