Hello ahd
Greetings!
Thank you for your quick response.
I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!
Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution.
Please click "Accept" the answer as original posters help the community find answers faster by identifying the correct answer.
Issue: similar rewrite-url not working for another routing rule
Resolution: You resolved the issue by using the override backend path.
Why Override Backend Path Works Well:
The override backend path allows you to dynamically modify the request URL before it is forwarded to the backend. This can be particularly useful when you have multiple APIs and need to route requests based on specific patterns or domains.
Here are some reasons why this approach might be beneficial:
- Flexibility: The override backend path provides flexibility in routing requests. You can easily modify the path based on the incoming request, which is useful when dealing with multiple APIs.
- Simplified Configuration: Using the override backend path can simplify the configuration compared to setting up multiple rewrite rules. This can make it easier to manage and maintain your application gateway settings.
- Performance: By directly modifying the backend path, you can reduce the complexity of the routing rules, which can lead to better performance and faster request processing.
I hope this has been helpful!
Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
Regards,
Praveen