I was trying to setup path mappings for my PHP Azure Web App, I was attempting to every virtual path under a certain path directory redirect to a single PHP index file.
So for example:
/myapp/would serve the following PHP file:
/myapp/some/awesome/pathwould serve that same PHP file:
- and so on...
I looked in some documentations and Google but could not find a way to do this automatically, so I started expirementing... I tried:
- and finally...
After that last attempt with the
. at the end, both the web app itself and the App Service portal control panel ceased to work/respond to commands.
Attempting to delete/edit the path mappings and clicking 'save' results in this ambigious error message: Failed to update web app settings
Attempting to open the 'App Service Editor (preview)' results in a HTTP Error 503
Is there anyway to reverse the supposedly incorrect configuration? I do not have backups of before this change.
How do I actually setup dynamic/wildcard path mappings for Azure? I am trying to establish the Azure equivalent of this .htaccess file.