ACE match http url with post data

Unanswered Question

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Syed Iftekhar Ahmed Wed, 11/11/2009 - 23:05

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

MARK HILLIARD Wed, 12/02/2009 - 03:40

Hi,

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

Regards

Mark Hilliard

Gilles Dufour Fri, 12/04/2009 - 04:02

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.

Actions

This Discussion