Can the application gateway complete a path?

Alejandra Santana Alarcon 20 Reputation points

I have problems resolving a URL

It throws me a net::ERR_ABORTED 502 when I validate the errors in the browser I realize that the URL is cut and the part of the audisoft is removed, and this is the important part, how can I do so that the application gateway places in all the url the part of the audisofterror isagen

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
948 questions
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 34,591 Reputation points Microsoft Employee

    Hello @Alejandra Santana Alarcon ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I doubt you are using an Azure Application gateway to begin with

    • Are you sure this is not a Front Door?
    • If I try to check your Domain "" in Azure IP Lookup , I see
      • User's image

    With that said,

    • This still does not look like an issue with AFD (or the proxy whichever you are using), rather your application.
    • Did you check the application by passing the AFD and see if that works fine?
    • When I access "" , it gives me a HTTP 200 Success
      • User's image
    • All the subsequent requests lack the "audisoft/" in their request path
      • User's image
    • You must note that AFD is not removing this, rather, the path requested by the application itself did not contain "audisoft/"
      • This should be fixed in the application itself by leveraging "absolute URL"
        • Every request must include the entire absolute path

    If you could confirm if you are using AFD only,

    • There is a way to do URL rewrite, However, this needs to be fine tuned to your requirement and make sure this does not affect other sites behind your AFD
    • You must leverage AFD Rules Engine
    • Your requirement comes under the section : Preserve unmatched path
    • User's image
    • Your environment will become,

    Yes / /audisoft/ /audisoft/ADSSoftware.Web/

    Next Steps

    • Please verify if you are using AFD or App Gateway
    • Make sure your application works properly without Proxy
    • If not, change the application code to use "absolute path"

    Kindly let us know if you need further assistance on this issue.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

0 additional answers

Sort by: Most helpful