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

End of wits reached: set-path with regsub just doesn't work

$
0
0

This should be pretty simple, right? HAProxy version 1.8.23.

backend:
    http-request set-path %[path,regsub(/apache1/,/)]

That would take the path /apache1/status and change it to /status? I just doesn’t work. If I put in a hard-coded path like http-request set-path /status then it’s OK. That works.

How do I debug this? The environment I’m in is very paranoid, so I can’t see the backend server’s log nor can I do a packet capture. I have tried various hacks to get the resulting path into the logfile, but none of them work either.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4726

Trending Articles



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