Cisco Systems OL-7029-01 Switch User Manual


 
2-34
Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference
OL-7029-01
Chapter 2 Content Switching Module with SSL Commands
match protocol http url (URL map submode)
match protocol http url (URL map submode)
To add a URL regular expression to a URL map, use the match protocol http url command in the SLB
URL map configuration submode. Multiple match rules can be added to a URL map. To remove the URL
regular expression from the URL map, use the no form of this command.
match protocol http [method method-expression] url url-expression
no match protocol http [method method-expression] url url-expression
Syntax Description
Defaults This command has no default settings.
Command Modes SLB URL map configuration submode
Command History
Usage Guidelines URL regular expressions (see “Regular Expressions” section on page 2-3) are based on the UNIX
filename specification. URL expressions are stored in a cookie map in the form urln. URL expressions
do not allow spaces and only one of the URLs in the map must be matched
The method expression can either be one of the standard HTTP 1.1 method names (OPTIONS, GET,
HEAD, POST, PUT, DELETE, TRACE, or CONNECT) or a string you specify that must be matched
exactly (PROTOPLASM).
Examples This example shows how to add URL expressions to a URL map:
Cat6k-2(config-slb-map-url)# match protocol http url html
Related Commands map url
show module csm map
url-map (policy submode)
method method-expression (Optional) Specifies the method to match.
url-expression Specifies the regular expression range; the range is from 1 to 255
characters.
Release Modification
CSM release 1.1(1) This command was introduced.
CSM release 4.1(1) HTTP method parsing support was introduced.
CSM-S release 1.1(1) This command was introduced.