Is there a way to configure different error pages for different portions of your web app?
Normally, for the web app I 开发者_开发知识库can configure a Custom error page in the web.config. e.g.
<customErrors defaultRedirect="standarderror.aspx" mode="RemoteOnly">
<error statusCode="404" redirect="filenotfound.htm"/>
</customErrors>
Is there a way I can specify different pages for web and mobile site?
You can create additional web.config file in mobile version subdirectory with only customerrors options.
精彩评论