Support URL rewriting with Application Gateway
PathBasedRouting is nice, but not super great without the ability to rewrite paths. I am trying to front a Service Fabric cluster, where multiple HTTP services live on http://+:80, at different path prefixes. Would be nice to use Application Gateway to direct https://api.company.com to http://cluster/api, and https://www.company.com to http://cluster/www
URL rewrite for Application Gateway v2 is currently in public preview! With this, you can now rewrite URL path and query string parameters based on a condition. The condition will be on request or response parameters.
Also, you get the ability to choose the routing to a backend pool based on the original URL or the rewritten URL.
When this is coming? This is required for Service Fabric Host apps.
Daniel Beaupre commented
Here we are in May 2017, and this is still marked as PLANNED. This is a much needed feature to integrate service fabric with.
Joon du Randt commented
Yes please I really need this facility
Ryan Lin commented
Indeed, this is a very important feature on Application Gateway, no one wants to distinguish the HTTP and HTTPS while typing URL on browser.
Todd Bowman commented
Agreed, URL rewrite is critical for our application as well. Even down to http --> https, this is an important feature.
Ben Gelens commented
Can anyone shim in on this?
We are currently blocked on a project by this functionality not being in place yet.
My customer has this design where their app is broken up into multiple Web apps which must all fall into one root uri namespace due to authentication / authorization provider demands.
So a client would hit the WAF, be served the root.uri and depending on having been authenticated / authorized yes or no, would be send to rout.uri/login which is in fact another web page.
So root.uri/login should be rewritten with login.internal.web or something so the front-ends of the ASE know what to serve up.
We got this working with barracuda WAF appliance but the customer wants application gateway WAF.
Lidvar Kornberg commented
Parag Bharne commented
Without This Support Application Gateway is worthless specially for fabric applications. Redirection for at-least gateway is required from HTTP to HTTPS.
Customer Cannot Enter each Time https manually.
Jordan Yaker commented
What's the status on this? It would make it so that Azure Functions are a bit easier to use as part of client-facing applications.
Tom Bromby commented
It would be great to be able to rewite the HTTP_HOST section of the URI, would assume this could be done with the ARR function of App Gateway's underlying servers