Asp.net 如何为Web和移动站点配置不同的自定义错误页?
有没有办法为web应用的不同部分配置不同的错误页面 通常,对于web应用程序,我可以在web.config中配置自定义错误页面。e、 gAsp.net 如何为Web和移动站点配置不同的自定义错误页?,asp.net,configuration,web-config,Asp.net,Configuration,Web Config,有没有办法为web应用的不同部分配置不同的错误页面 通常,对于web应用程序,我可以在web.config中配置自定义错误页面。e、 g <customErrors defaultRedirect="standarderror.aspx" mode="RemoteOnly"> <error statusCode="404" redirect="filenotfound.htm"/> </customErrors> 有没有一种方法可以为web和移动站点
<customErrors defaultRedirect="standarderror.aspx" mode="RemoteOnly">
<error statusCode="404" redirect="filenotfound.htm"/>
</customErrors>
有没有一种方法可以为web和移动站点指定不同的页面?您可以在移动版本子目录中仅使用customerrors选项创建其他web.config文件。您可以在移动版本子目录中仅使用customerrors选项创建其他web.config文件。如何在一个目录中分隔不同的站点应用程序?移动站点位于名为mo的子目录中。So xyz.com/mo/home.aspx将是移动页面。如何在一个应用程序中分隔不同的站点?移动站点位于名为mo的子目录中。So xyz.com/mo/home.aspx将是移动页面。