Score:0

In Using pfSense HAProxy - to check the url if it has a sub domain name

us flag

I have a wildcard Cert and need to direct any sub domain name that does not exist to a 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’s 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 for example a user type in, (asdas, about, help, etc,…).kohanyim.com.

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!.

Score:1
br flag

I would look at the default_backend operator. Basically send anything that doesn't hit another ACL to a specific backend.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.