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

ACL for missing path

$
0
0

@muj33b wrote:

Hi,

I want to create a separate ACL for path which does and does not contain a specific string “purchase”.

extract from my config

acl acl_p path_beg -i /purchase
use_backend  purchase if acl_p

acl non_p path_reg  !^/purchase
use_backend non_purchase if non_p

What is the correct regular expression for ACL non_p ?

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>