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

ACL urlp from file - stuck

$
0
0

@zlajag wrote:

Hi all, I have to block requests with certain apid=value and possibly have config it in separate file. This works in haproxy.cfg but when I've try to load values from files I can't get it to work.

haproxy.cfg example:

acl redirect-204 urlp(apid) ian291d84pny3owsg51ftz
acl redirect-204 urlp(apid) c9nxt4oy7ag2xo31g7c4fc

haproxy cfg - read from file:
acl redirect-240 urlp -f /data/list.lst but can't figure out correct file structure.

list.lst types I've tried so far:
(apid) ian291d84pny3owsg51ftz
apid, ian291d84pny3owsg51ftz

Incoming url looks like this http://mydomain.com/path/set.jsp?apid=ian291d84pny3owsg51ftz

Any tips please? can't get format of list.lst file to work.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



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