HP e-Commerce / XML director server appliance sa8250 - Users Guide
C H A P T E R 5 Policy Group Commands
195
config policygroup
service server port
xmlpattern create
Creates an XML pattern defined by the specified string for the
server and port specified in the current path
config policygroup <policy-name> service
<service-name> server <server-name> port
<port> xmlpattern create <xmlpattern>
where:
•
policy-name is the name of the policy group
•
service-name is the name of the service
•
server-name is the name of the server
•
port is the port number
•
xmlpattern is the complete RICH and XML (or RICH
only) specification of the pattern to be created, including
elements, attributes, text, operators, and comparison operators
Valid RICH 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 *.
Note 1: The above expressions can include the negation operator
(!), such as !*.gif, or !*/index.html, but cannot be used
with XML expressions.
Invalid RICH 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
• Expressions containing a vertical bar ( | ) or a carat (^)
Note 2: 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.
Command Description
Policy Group Commands (continued)