在IIS中配置为code 400(错误请求)自定义错误页被忽略 [英] Custom error page configured in IIS for code 400 (bad request) is ignored
问题描述
有关我的网站,我配置了一些自定义错误页。
如果我生成一个404重定向工作正常。
当触及400,错误的请求文本,而不是显示了配置的网址了。
For my website I configured some custom error pages. If I generate a 404, the redirect works fine. When hitting a 400, the "bad request" text shows up instead of the configured URl.
作为测试我复制从404网址为400。没有变化。
然后,我改变了重定向到一个文件中。没有变化。
As a test I copied the URL from 404 to 400. No change. Then I changed the redirect to a file. No change.
任何想法?
推荐答案
也许<一个href=\"http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/80cb8d8d-8fd8-4af5-bb3b-4d11fff3ab9c.mspx?mfr=true\"相对=nofollow>这是你的答案:这个微软网站说,在重新配置IIS6自定义错误的。
Maybe this is your answer: this Microsoft site says re configuring custom errors in IIS6 that
下面的错误不
可定制:400,403.9,411,414,
500,500.11,500.14,500.15,501,503,
505。
The following errors are not customizable: 400, 403.9, 411, 414, 500, 500.11, 500.14, 500.15, 501, 503, and 505.
这篇关于在IIS中配置为code 400(错误请求)自定义错误页被忽略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!