You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Geta.NotFoundHandler along with .NET Core error handling. Issue is that NotFoundHandler is saving a lot of urls meant for either ExceptionHandler or StatusCodePagesWithReExecute (e.g. StatusCodePage/404) for example if 404 is thrown in CMS. I tried few different varations for setup in Startup.cs, but couldn't find correct configuration as either redirects or error handling didn't work correctly. Is there even any correct configuration with error handling? Possibly there is an option to ignore specific url?
For reference my configuration is in that order:
app.UseExceptionHandler("/StatusCodePage/{0}");
app.UseStatusCodePagesWithReExecute("/StatusCodePage/{0}");
app.UseNotFoundHandler();
app.UseOptimizelyNotFoundHandler();
Hi,
I'm using Geta.NotFoundHandler along with .NET Core error handling. Issue is that NotFoundHandler is saving a lot of urls meant for either ExceptionHandler or StatusCodePagesWithReExecute (e.g. StatusCodePage/404) for example if 404 is thrown in CMS. I tried few different varations for setup in Startup.cs, but couldn't find correct configuration as either redirects or error handling didn't work correctly. Is there even any correct configuration with error handling? Possibly there is an option to ignore specific url?
For reference my configuration is in that order:
app.UseExceptionHandler("/StatusCodePage/{0}");
app.UseStatusCodePagesWithReExecute("/StatusCodePage/{0}");
app.UseNotFoundHandler();
app.UseOptimizelyNotFoundHandler();
Hopefully @marisks you're best person to help
Thank you
The text was updated successfully, but these errors were encountered: