设置自定义"401未经授权" SharePoint 2013中的页面 [英] Setting Custom "401 Unauthorized" Page in SharePoint 2013

查看:66
本文介绍了设置自定义"401未经授权" SharePoint 2013中的页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi,

当用户取消登录提示时,默认的"401未经授权"消息可见,我正在尝试在SharePoint 2013中更改此消息.

When user cancel the login prompt the default 401 Unauthorized message visible I am trying to change this message in SharePoint 2013.

我按照以下步骤操作.

I followed below steps.

Putting below following code into SharePoint web application web.config under system.web

<httpErrors errorMode="Custom" existingResponse="Replace">
	<remove statusCode="401"></remove>
	<error statusCode="401" responseMode="File" path="custom401.html" />
</httpErrors>

3.只有一个WFE

3. There is only one WFE

但我得到的是"

but I am getting " 500 internal server error" please suggest.

推荐答案

Vaibhav,

Vaibhav,

请检查下面文章中的步骤以部署自定义错误页面.

Please check the steps in the article below to deploy the custom error page.

> https://sharepoint.stackexchange.com /questions/24735/sharepoint-2010-custom-401-error-page-on-authenticated-site


这篇关于设置自定义"401未经授权" SharePoint 2013中的页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆