Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Cisco Employee

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

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
Cisco Employee

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

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.

Cisco Employee

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

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

Cisco Employee

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

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

Gilles.

144
Views
0
Helpful
3
Replies
CreatePlease to create content