cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
320
Views
0
Helpful
3
Replies

In CSM map, can we configure a url not match?

qixie
Level 1
Level 1

Hello! Expert,

Seems we can only configure the url match by "match protocol http url /a/b/*" in CSM, but wonderring if we can configure "not match protocol http url /a/b/*"? checked the docs, could not find the Regular Expression in CSM has "not match" or "!" pattern. However, in our J2EE env. we really need this kind of configuration. Thans, Q.Xie

3 Replies 3

Gilles Dufour
Cisco Employee
Cisco Employee

you could do 2 policies.

1 using the match url /a/b/* and one using match any url.

In your serverfarm you apply the match url policy first and assign it serverfarm and for the match any you apply it another serverfarm.

This should be equivalent.

Gilles.

Thx Gilles for your feedback, but I don't think this 2 policies method will work for us. The 2nd policy "match any" just likes our default serverfarm. Seems it's hard for me to describe what exactly the issue we have. Could you or some one tell me directly if there is a "not match pattern" in CSM map implementation?

Thx, Q.Xie

there is no 'no match' function which is why I suggested a workaround.

Gilles.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: