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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

ACE match http url with post data

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.*


Re: ACE match http url with post data


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



New Member

Re: ACE match http url with post data


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


Mark Hilliard

Cisco Employee

Re: ACE match http url with post data

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.