在IIS中自定义错误消息 [英] custom error message in IIS

查看:171
本文介绍了在IIS中自定义错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IIS 5.1,我已经设置了网站安全认证基础,我已经为在IIS中的自定义错误被定向到c中的页面:\\ TEST.ASP文件

In IIS 5.1, i have set the website security to Basic Authentications and i have set the page for custom error in IIS which is directing to c:\test.asp file.

当用户尝试访问该网站,用户名和密码,屏幕上出现并输入错误密码3次后,系统显示自定义错误页这是很好的,但是为什么又做用户名和密码,系统提示(三次)?

When user try to access the website, the user name and password screen comes up and after entering the wrong password 3 times, system shows the custom error page which is fine but why does system prompt for the user name and password again (for three times)?

我不希望自定义错误页上的用户登录画面。

I don't want user login screen on custom error page.

我试图把自定义错误页的默认网站上设置的安全性,匿名的,但它仍然显示自定义错误页上的登录屏幕。

I have tried to put the custom error page on the default website and set the security to anonymous but it still shows login screen on custom error page.

反正绕过它?

推荐答案

这问题中加入HTML页面错误401和402解决。

This problem was resolved by adding html page for error 401 and 402.

这篇关于在IIS中自定义错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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