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

HAProxy - check the url if it has a sub domain name

$
0
0

I have a wildcard Cert and need to direct any sub domain name that does not exist to custom 503 error page and don’t want to use the Frontend’s Error files feature nor its default 503 page. I want my Backend to handle all error pages, but on the server side.

I see in the Access Control lists / Table / Expression has Host regex, Path regex, Url parameter contains. Which one can I use to provide me the ability to check if there is a sub name or chars in? And if so, I’m really rusty on my regex syntax and can you provide examples I can use?

Would very much appreciate it, Thanks!..

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



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