We have created an Azure Application Gateway using path-based rules to redirect requests of clients to servers on the background pool based on the client instance name, like this:
"/client1/*" -> Server1
"/client2/*" -> Server2
"/client3/*" -> Server1
When we make requests to http://mygateway.azure.com/client1/, it works fine and Server1 returns the expected page. But, when I left out the ending slash /
, like http://mygateway.azure.com/client1, the Server1 can't be found and the page is not returned. It looks like Application Gateway can't resolve the url during the rewrite operation.
I've tried severeal settings to the path in the ApplicationGatewayBackendHttpSettings like "/client1
", "/client1/*
" and "/client1*
", but it didn't work.
Have you ever seem this problem?
Tks