404handler
404handler copied to clipboard
Query sting in path at httpErrors in webconfig
Hi
Just installed the plugin and noticed that the redirect to the error page dosent work when the path contains a query string.
When the plugin is turned off iis handels query strings just fine. Is this by design?
This does not work:
<httpErrors errorMode="Custom" existingResponse="Replace">
<remove statusCode="404" subStatusCode="-1"/>
<error statusCode="404" prefixLanguageFilePath="" path="/sv/felsidor/404?err=404" responseMode="ExecuteURL"/>
</httpErrors>
This works:
<httpErrors errorMode="Custom" existingResponse="Replace">
<remove statusCode="404" subStatusCode="-1"/>
<error statusCode="404" prefixLanguageFilePath="" path="/sv/felsidor/404/" responseMode="ExecuteURL"/>
</httpErrors>
/Jesper
What is the use case for the query strings? Why do you need those? Do you have some logged information about the error?