Quantcast
Viewing all articles
Browse latest Browse all 4735

Match data in query string, perform redirect

@Ym5vGJ3 wrote:

Hello,

I’m new to HAProxy and find the documentation a little confusing for a non-developer. Nonetheless, I’m determined to replace our IIS proxies with HAProxy.

I need to match the pattern “disco” in a query string then redirect to error.html. In IIS, I’d match the entire URL (.*) and then check for “disco” in the query string. If “disco” appeared, I’d redirect to error.html.

With HAProxy, should I be fetching the query-string with “query” and how I would construct the ACL? Any help would be greatly appreciated.

Thanks!

Posts: 3

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4735

Trending Articles



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