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

ACE match http url with post data

dblack
Level 1
Level 1

I need to make a layer-7 load balancing decision at the ACE module based on a URL string that includes form POST data. It is important that the balancing decision include and parse the part of the URL after the question mark. This doesn't seem to work with the "match http url" config on the ACE. My interpretation is that the ACE does not consider the POST data to be part of the URL string, and therefore does not include it in the regular expression matching. Am I missing something here, or have I run into a limitation of the ACE module?

class-map type http loadbalance match-any L7__URL_MATCH_CLASS

2 match http url index.php\?field=content.*

3 Replies 3

Hi

The '?' has a special meaning in the URL. It means the end of the main URL and the beginning of the URL query.

Its not possible to match ? in the url.

One option could be using secondary cookie matching in ACE.

class-map type http loadbalance match-any xyz

2 match http cookie secondary field cookie-value content

Thanks

Syed

Hi,

I have the same problem, tried the secondary cookie technique but it was unsuccessful...

Regards

Mark Hilliard

this should work.

Make sure you have the latest version as there were fixes in this area recently.

If it continues to fail, send the complete configuration and a sniffer trace showing the problem.

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: