Forum Discussion
Complicated Application Gateway Setup
- Jul 10, 2020
Hi Charbelhanna ,
Thanks for reply.
SOLVED
I ended up solving my issue not through app gateway but through app service. Basically the problem was the HTTP settings needed to be set to override with new host name as it is an app service. This combined with the path based mapping resulted in a virtual path that did not exist. I attempted to use rewriting but that only went so far but setting a virtual path "/appname" to point at "site/wwwroot" and changing the default to point to a dummy folder achieved the outcome. I did need to change my health probes after this but again I would like to point out this was not a health probe issue it was a routing based issue.
Thanks
Hi Charbelhanna ,
Thanks for reply.
SOLVED
I ended up solving my issue not through app gateway but through app service. Basically the problem was the HTTP settings needed to be set to override with new host name as it is an app service. This combined with the path based mapping resulted in a virtual path that did not exist. I attempted to use rewriting but that only went so far but setting a virtual path "/appname" to point at "site/wwwroot" and changing the default to point to a dummy folder achieved the outcome. I did need to change my health probes after this but again I would like to point out this was not a health probe issue it was a routing based issue.
Thanks
I would also like to point out that URL rewrites are in preview and I did try them but they did not solve my problem at this stage. I will update if I find a different option in the future.