cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3226
Views
0
Helpful
6
Replies

ACE30: match http url except specific one

Lubo1
Level 1
Level 1

Hi,

is it possible to construct the L7 HTTP class-map expression to match all URLs except one?

I have 1 correct url, for example: /correcturl.* and want to redirect requests to all other possible URLs to this one, without the need to list them all in "possitive match" statements.

I tried variations of:

match http url /^(correcturl).*

with no luck.

Thanks,

Lubomir

6 Replies 6

jsirstin
Level 1
Level 1

Lubomir,

It sounds like what you need is to create the L7 class-map to match on the correct url and loadbalance this to the serverfarm. Then in this same L7 policy use class class-default to redirect all other URLs to the correct location.

Hope that helps

Best regards

Jim