cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1408
Views
0
Helpful
1
Replies

ACE URL Matching Question

Network Digger
Level 1
Level 1

Hello,

 

I need please to confirm the URL that will be matched in the below class. I understand rule number 2 below but I am not sure of rule number 3 which is matching the URL "/", I couldn't find explanation of this backslash alone without a dot or * after it, so appreciate your support please if anyone can help.

 

=========================

ACE1# sh run class Test_1
Generating configuration....

 

class-map type http loadbalance match-all Test_1
    2 match http header Host header-value "xyz\.domain\.com"
    3 match http url /

==========================

 

Thanks a lot.

1 Reply 1

omz
VIP Alumni
VIP Alumni
Using the configured match http url expression command, the ACE attempts to
match a URL in an HTTP request following the first space after the request
method. For example, if the request were “GET /index.html HTTP/1.1”, the ACE
tries to match starting with the “/” character. Therefore, the class-map match
statement is conformant with the RFCs that cover HTTP URI syntax. This syntax
includes request URIs that start either with “/” or with "scheme://authority/" (for
example, http://www.cisco.com/).

https://www.cisco.com/c/en/us/td/docs/interfaces_modules/services_modules/ace/vA5_1_0/configuration/slb/guide/slbgd.pdf