Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4717

Query string not matching in ACL

$
0
0

@ularnis wrote:

Hello all,

I am trying to use the query string in the client's request as component for an ACL but cannot get it to work.
My goal is to create an ACL that will only match if the the URL does not contain a a query string.

Using 1.7.1 I've tried to use the "query" paramter described here: https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#7.3.6-query

Something along the lines of

acl has_sq query -m found

I've also tried to work with the "urlp" parameter but no avail. I've tried a dozen of combinations but the ACL just never seems to match.

Can anybody point me at what I am doing wrong or has a working example?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>