I am running into an issue with ASP.Net web app returning 404 for any page other then / or /index.html, say for instance https://mysite.azurewebsites.net/about
What is funny is it works locally on the dev server for any page you pass, but when I move it over to the Azure slot no deep links for book marks not at the root work.
I have a rewrite rule in place for using Auth0’s callback mechanism like this:
<rule name="redirect all requests" stopProcessing="true"> <match url="^(.*callback*)$" ignoreCase="false" /> <action type="Rewrite" url="index.html" appendQueryString="true" /> </rule>
And I found this blog but it restructured the site for it to work:
Is there an easier way to get the redirect back to the Aurelia SPA for deep links?